[gs-bugs] [Bug 691437] New: Empty ResourceDictionary not handled.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jul 1 07:19:20 UTC 2010


           Summary: Empty ResourceDictionary not handled.
           Product: GhostXPS
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P4
         Component: General
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: norbert.janssen at oce.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0
          Customer: 661

Created an attachment (id=6421)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6421)
xps-job with empty ResourceDictionary.

In attached job (GradientStops.xps) there is an FixedPage.Resources with empty


In the xpspage.c (at line 233) the xps_parse_resourcedictionary() returns NULL
, so a gs_rethrow(-1, "cannot load FixedPage.Resources") is done. So the job is
not printed.

The (MS) XPS-viewer though still prints the page.

I think in case of an empty ResourceDictionary the rethrow() should not be

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list