The 12/17 draft includes a "thing" called schemaLocation that instance documents can use to specify how schemas are located. The wording explicitly allows something like what this patch does. Since we're a little ways away from conforming to the 12/17 draft, I'm inclined to accept this set of patches, but they are based on one patch that I've rejected. I'd be happy to have this go in if it were based on today's top of trunk.
George, could you please get me diffs for this and I'll integrate them. Ted ----- Original Message ----- From: "George T. Joseph" <[EMAIL PROTECTED]> To: "xerces-dev" <[EMAIL PROTECTED]> Sent: Tuesday, January 11, 2000 8:16 PM Subject: Patches for XMLParser.java and XSchemaValidator.java > This set of changes allows you to use the EntityResolver.resolveEntity() callback to intercept the 'xmlns' attribute and supply your > own Schema InputSource. It works just as it does for an external DTD subset. Rather than appending the diffs, I put them on an ftp > server... > ftp://ftp.peakin.com/pub/xerces/XMLParser.diff > ftp://ftp.peakin.com/pub/xerces/XSchemaValidator.diff > > WARNING: To make this work, I had to change XSchemaValidator.loadSchema() so that it accepts an org.xml.sax.InputSource rather than > a String. It gets called only from one place in XMLParser so I didn't think this would be a big deal. > > The diffs are against XMLParser v1.4 and XSchemaValidator v1.3 and encompass the earlier changes I posted to this list. > > george > >