Command line interfaces
Added a -v option to the command line to request XML validation. This applies to the principal source document and other files read using the document() function. It requires an XML parser that supports validation.
The same feature is available in the API by setting the configuration property
VALIDATION to true
on the TransformerFactory
.