Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1340

XSDHandler incorrectly processes the extensions of XMLInputSource.

    XMLWordPrintableJSON

Details

    Description

      To support JAXP 1.3/1.4 we made enhancements to XSDHandler so that it could load a schema from non-stream sources, specifically SAX, DOM and StAX. There is some important code which gets executed when the input is a stream that we forgot to include in the other paths. Because of the ommision circular imports/includes could fail with an error reported about duplicate declarations. Relative URIs are sometimes resolved against the current working directory because no base URI is being inserted in the fDoc2SystemId map. Often this is the wrong location to be dereferencing.

      XERCESJ-1183 is related to this issue.

      Attachments

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            mrglavas@ca.ibm.com Michael Glavassevich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: