This patch fixes the problem where relative URIs in xsi:schemaLocation
is not handled properly by XMLSchemaValidator.

The patch changes the following things

- The setURI method is removed from RevalidationHandler. We have
  XMLLocator to tell the components about the base URI, and I don't see
  much point in having a separate mechanism to do it.

- XMLSchemaValidator now treat location hints of @xsi:schemaLocation as
  URIs relative to the document being parsed.

- DOMNormalizer, the client of the RevalidationHandler interface, is
  modified to set a proper XMLLocator.


To apply the patch:

    cvs co -D20031109 xml-xerces/java
    cd xml-xerces/java
    patch -p0 < relativeXsiLocation.patch


regards,
----------------------
Kohsuke Kawaguchi
E-Mail: [EMAIL PROTECTED]

Attachment: relativeXsiLocation.patch
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to