[Poppler-bugs] [Bug 89239] New: pdftohtml produces wrongly nested tags

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 19 17:39:05 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89239

            Bug ID: 89239
           Summary: pdftohtml produces wrongly nested tags
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdftohtml
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: pascal at germroth.name

Created attachment 113678
  --> https://bugs.freedesktop.org/attachment.cgi?id=113678&action=edit
Source PDF

When converting the attached PDF to XML using version 0.29.0
$ pdftohtml -xml in.pdf out.xml 

It produces invalidly nested tags in the index portion near the end:
$ xmllint out.xml
out.xml:16770: parser error : Opening and ending tag mismatch: a line 16770 and
b
font="11"><b>AbrĂ¼stung<a href="out.xml#314"> </b><i>314, </i></a>

Looking at the source document (page 320/327) the closing </b> should occur
before the opening <a>, the numbers are linked and not bold.
Oddly the error doesn't occur for all entries.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150220/f8bcb0f3/attachment.html>


More information about the Poppler-bugs mailing list