Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-70

[PATCH] DataURIResolver does not set the systemID of the StreamSource which leads to problems when being read.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.6
    • None
    • utilities
    • None
    • Operating System: Linux
      Platform: PC

    Description

      The original issue related to the fox:external-document not supporting the use of the url() wrapper. This was actually fixed some time ago by Andreas. However during that investigation it was found that if no url wrapper was specified when using a application/PDF uri, a null pointer exception was thrown . This was because the DataURIResolver class was leaving the systemID value null which was being read and used by FOP later. I have now passed in the extra parameter of the uri to set the systemID and updated the test case to ensure that this problem is avoided regardless of where and how it is used.

      Attachments

        1. patch.diff
          3 kB
          Robert Meyer

        Activity

          People

            general@xmlgraphics.apache.org XML Graphics Project Mailing List
            rmeyer@hotmail.co.uk Robert Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: