<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html> <head> <this-is section="schema-processing" page="validation-api" subpage=""/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: Controlling Validation from Java</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: Controlling Validation from Java"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>Controlling Validation from Java</h1> <p>Schema validation can be controlled either using the standard JAXP Java interface, or using Saxon's own <b>s9api</b> interface. The two approaches are described in the following sections. The main advantage of using JAXP is that it is portable; the main advantage of s9api is that it is better integrated across the range of Saxon XML processing interfaces.</p> <ul> <li> <p><a class="bodylink" href="validation-api/schema-s9api.xml">Schema Processing using s9api</a></p> </li> <li> <p><a class="bodylink" href="validation-api/schema-jaxp.xml">Schema Processing using JAXP</a></p> </li> </ul> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="validation-api/schema-s9api.xml">Next</a></p> </td> </tr> </table> </body> </html>