[ 
https://issues.apache.org/jira/browse/PDFBOX-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045584#comment-18045584
 ] 

ASF subversion and git services commented on PDFBOX-6126:
---------------------------------------------------------

Commit 1930639 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1930639 ]

PDFBOX-6126: add cast

> Cannot find a definition for the namespace 
> http://www.w3.org/1999/02/22-rdf-syntax-ns#, property: rdf:Description
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-6126
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6126
>             Project: PDFBox
>          Issue Type: Bug
>          Components: XmpBox
>    Affects Versions: 2.0.35, 3.0.6 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0
>
>
> This is a follow-up to PDFBOX-4325. That solution avoided a 
> ClassCastException but threw an exception, despite that this XMP validates in 
> the PDFLib XMP validator. The problem here is that "<rdf:Description" is a 
> child of "<rdf:li" so xmpbox thinks this is a data type. Which it isn't, 
> xmpbox treats rdf purely as hard code logic so we should keep doing this by 
> adding code logic. Which is surprisingly simple, i.e. reroute it to 
> parseLiDescription().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to