You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/01/30 19:13:00 UTC

[jira] [Created] (PDFBOX-4088) Root/StructTreeRoot/K/S must be name, not string (merge)

Tilman Hausherr created PDFBOX-4088:
---------------------------------------

             Summary: Root/StructTreeRoot/K/S must be name, not string (merge)
                 Key: PDFBOX-4088
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4088
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.0.8, 1.8.13
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 1.8.14, 2.0.9, 3.0.0 PDFBox


This code in PDFMergerUtility looks suspicious:
{code}
kDictLevel0.setItem(COSName.S, new COSString(STRUCTURETYPE_DOCUMENT));
{code}
It sets a top level type in the K hierarchy... it should be a name, not a string, see "Entries in a structure element dictionary".




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org