Using Oracle XDK Command-Line Utility

Using Oracle XDK Java command-line utility oracle.xml.parser.v2.oraxml, we can perform the XML Schema validation if the document has a noNamespaceSchemaLocation attribute or a schemaLocation attribute to specify the associated XML schema. The command is shown as follows:

Listing 5-5 Using Oracle XDK Command-Line Utility to Perform XML Schema Validation

>java oracle.xml.parser.v2.oraxml -schema john_smith.xml

The input XML file is parsed without errors using Schema validation mode.

Get Oracle Database 11g Building Oracle XML DB Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.