[gs-bugs] [Bug 692586] New: XML output from pdfdraw not parsable by LibXML2

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Oct 13 03:33:15 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692586

           Summary: XML output from pdfdraw not parsable by LibXML2
           Product: MuPDF
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: apps
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: alec.taylor6 at gmail.com
         QAContact: gs-bugs at ghostscript.com


Good afternoon,

Unfortunately output from pdfdraw is not parsable by LibXML2.


= How to reproduce error =
[From console]
> wget http://archive.org/download/lawofthehayes00ewinrich/lawofthehayes00ewinrich.pdf && pdfdraw -ttt awofthehayes00ewinrich/lawofthehayes00ewinrich.pdf > law.xml
> wget http://pastebin.ca/raw/2089594 -O main.c
// compile and link to the LibXML2 libraries with -o parser
> parser law.xml
law.xml:9: parser error : Opening and ending tag mismatch: char line 0 and span
</span>
       ^
law.xml : failed to parse

Please patch the library to fix this bug.

Thanks,

Alec Taylor

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