www.w3.org block my accessing due to re-questing files too often. I found one importing schema was <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
Does XSLoader provide the mechanism to avoid repeated loading schema during high capacity volume process ? How to work with this issue ? The Xerces is 2_9_0. The code is as below: System.setProperty(DOMImplementationRegistry.PROPERTY,"org.apache.xerces.dom .DOMXSImplementationSourceImpl"); DOMImplementationRegistry registry = DOMImplementationRegistry.newInstance(); XSImplementation impl = (XSImplementation) registry.getDOMImplementation("XS-Loader"); XSLoader schemaLoader = impl.createXSLoader(null); DOMConfiguration config = schemaLoader.getConfig(); // set error handler config.setParameter("error-handler", this); // set validation feature config.setParameter("validate", Boolean.TRUE); // parse document XSModel model = schemaLoader.loadURI(schemaURL);