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

Entity resolution does not work with DTD grammar caching resolved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 2.8.1
    • None
    • DTD
    • None
    • JDK1.5. The issue appears on various machines, Windows, Linux, Mac OSX. I don't believe it is platform specific.

    Description

      We have a DTD which defines some entities. We are parsing multiple documents against this DTD. If grammar caching is enabled, the entities are unresolved when the grammar is loaded from the cache, instead of the DTD.

      It seems that they are cleared every time a document is parsed and are only loaded when a DTD is loaded and not from the cache.

      Attachments

        1. XERCESJ-1465.patch
          4 kB
          Thomas Krammer
        2. entitypatch-r1813171.patch
          3 kB
          Mike Bremford
        3. bug.zip
          2 kB
          Tin Pavlinic

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            tin Tin Pavlinic
            Votes:
            7 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: