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

Second time parsing fails XMLSchema validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.2
    • None
    • None
    • Windows XP

    Description

      We have a servlet application we compile against Xerces 2.4. Tomcat 5 ships with Xerces 2.6.2 and our application does not work. Investigation shows that the second time we parse a file, a schema validation error occurs. We set up our schema location through the "http://apache.org/xml/properties/schema/external-schemaLocation" property. Resetting this property before each parse operation works. The bug was introduced in version 2.6.0. A small sample in available.

      Dave

      Attachments

        1. XercesBug.zip
          17 kB
          David Cleary

        Activity

          People

            sandygao@ca.ibm.com Sandy Gao
            david_c David Cleary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: