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 2016/07/28 16:15:20 UTC

[jira] [Commented] (PDFBOX-3440) DomXmpParser fails to parse xmp metadata with PRISM data in it

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

Tilman Hausherr commented on PDFBOX-3440:
-----------------------------------------

Xmpbox can't work with namespaces it doesn't know. New namespaces must be implemented.

> DomXmpParser fails to parse xmp metadata with PRISM data in it
> --------------------------------------------------------------
>
>                 Key: PDFBOX-3440
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3440
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: XmpBox
>    Affects Versions: 2.0.2
>            Reporter: Svetlozar Argirov
>         Attachments: TestPrismNamespace.java
>
>
> If the rdf stream in the document contains metadata from the PRISM namespace (http://www.prismstandard.org/specifications/2.0/PRISM_prism_namespace_2.0.pdf) , the parser fails with error:
> org.apache.xmpbox.xml.XmpParsingException: Cannot find a definition for the namespace http://prismstandard.org/namespaces/basic/2.0/
> 	at org.apache.xmpbox.xml.DomXmpParser.checkPropertyDefinition(DomXmpParser.java:859)
> 	at org.apache.xmpbox.xml.DomXmpParser.parseChildrenAsProperties(DomXmpParser.java:295)
> 	at org.apache.xmpbox.xml.DomXmpParser.parseDescriptionRoot(DomXmpParser.java:239)
> 	at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:203)
> Jempbox used to parse this fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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