The XmlLintTask
checks syntax (lint) one or more XML files against
an XML Schema Definition.
Note:
This assumes that the DOM extension is loaded in PHP5 since
this is used to drive the validation process.
Table 167. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
schema |
String |
Path to XSD file | n/a | Yes |
file |
String |
Path to XML file | n/a | No |
haltonfailure |
Boolean |
Stops the build when validation fails | true |
No |
useRNG |
Boolean |
Set to Yes if the Schema is in the n Relax NG format | false |
No |