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

Entity resolution does not work with DTD grammar caching resolved

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. bug.zip
          2 kB
          Tin Pavlinic
        2. entitypatch-r1813171.patch
          3 kB
          Mike Bremford
        3. XERCESJ-1205.patch
          10 kB
          Mahmoud M. Almazari
        4. XERCESJ-1465.patch
          4 kB
          Thomas Krammer

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            tin Tin Pavlinic

            Dates

              Created:
              Updated:

              Slack

                Issue deployment