xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53570] New: [PATCH] DataURIResolver does not set the systemID of the StreamSource which leads to problems when being read.
Date Thu, 19 Jul 2012 14:48:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53570

          Priority: P2
            Bug ID: 53570
          Assignee: general@xmlgraphics.apache.org
           Summary: [PATCH] DataURIResolver does not set the systemID of
                    the StreamSource which leads to problems when being
                    read.
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: rmeyer@hotmail.co.uk
          Hardware: PC
            Status: NEW
           Version: Trunk
         Component: utilities
           Product: XMLGraphicsCommons

Created attachment 29081
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29081&action=edit
Change applied to DataURIResolver as well as an updated test case

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message