You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by bu...@apache.org on 2012/07/19 16:48:17 UTC

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

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


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

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53570

Mehdi Houshmand <me...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mehdi Houshmand <me...@gmail.com> ---
Committed to r1365074. Thanks for the good work!

-- 
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