classes/phing/tasks/ext/XmlLintTask.php
A XML lint task. Checking syntax of one or more XML files against an XML Schema using the DOM extension.
- author
- Knut Urdalen
- package
- phing.tasks.ext
- version
- $Id: XmlLintTask.php 1001 2010-11-24 10:40:05Z mrook $
\XmlLintTask
A XML lint task. Checking syntax of one or more XML files against an XML Schema using the DOM extension.
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- author
- Knut Urdalen
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.ext
- version
- $Id: XmlLintTask.php 1001 2010-11-24 10:40:05Z mrook $
Properties
Methods

createFileSet(
)
:
\FileSetNested creator, creates a FileSet for this task
| Type | Description |
|---|---|
| \FileSet |

errorHandler(
int $level, string $message, string $file, int $line, $context
)
:
Local error handler to catch validation errors and log them through Phing
| Name | Type | Description |
|---|---|---|
| $level | int | |
| $message | string | |
| $file | string | |
| $line | int | |
| $context |

setFile(
\PhingFile $file
)
:
File to be performed syntax check on
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile |

setHaltonfailure(
bool $haltonfailure
)
:
Sets the haltonfailure attribute
| Name | Type | Description |
|---|---|---|
| $haltonfailure | bool |