...
Property | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
filePattern | Files to be validated against the schemas set through the schemas parameter. Examples:
| ||||||||||||||||||||||||||||||||||||
schemas | Whitespace-separated list of schemas to use for validation. It can either be set to:
Default value: autodetect. In this case, the parser will try to load the schema based on the doctype or the namespace declaration in the document. Built-in schemas:
|
...
Property | Description |
|---|---|
This rule allows to define some homemade XML rules with help of an XPath expression. Violations are created depending on the return value of the XPath expression. If the XPath expression returns:
Here is an example of an XPath expression to log a violation on each 'td' tag using the 'nowrap' deprecated attribute: //td[@nowrap] | |
filePattern | Files to be checked against the XPath expression set through the expression parameter. Examples:
|
| expression | The XPath query. |
| message | The violation message. |
...

