Using Oracle XDK Java APIs

Using Oracle XDK Java, you can perform XML Schema validation with either the SAX or DOM parser. When performing XML Schema validations, you need two processors: the XML Schema processor which builds the XML Schema objects, and an XML parser which parses the XML document and validates against the pre-set XML Schema object.

Oracle XDK Tip: Can I validate an XML DOM element?

In Oracle XDK Java, in addition to document-level XML Schema/DTD validation, you can perform validation on the XML elements. Here is a list of XML Schema validation functions from an XMLElement:

Image  Boolean validateContent(DTD dtd) Validates the content ...

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.