test schema
This command tests conformity of an XML file against a schema.
Syntax
test schema file schema
Parameters
- file
- Specifies the URL of the XML file to test.
- schema
- Specifies the URL of the schema.
Guidelines
The test schema command tests the conformity of an XML file against an XSD schema file.
Example
Test conformity of the
xyzbanner.xml XML file against the
dp-user-interface.xsd
schema.# test schema store:///xyzbanner.xml store:///schemas/dp-user-interface.xsd
Performing validation of document 'store:///xyzbanner.xml' using
schema 'store:///schemas/dp-user-interface.xsd' ...
Document validation completed: OK.
#