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:
Boolean validateContent(DTD dtd) Validates the content ...