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

Tilman Hausherr edited comment on PDFBOX-3440 at 8/30/23 3:18 AM:
------------------------------------------------------------------

I added some logging for myself in the segment changed in PDFBOX-5128 which 
works only when strict parsing is off:

add non standard namespace http://ns.adobe.com/pdfx/1.3/ with prefix pdfx
add non standard namespace http://prismstandard.org/namespaces/basic/2.0/ with 
prefix prism

So I'd say your problem has been fixed by PDFBOX-5128 (and possibly by 
PDFBOX-5649 and PDFBOX-5668, not yet released, and only in version 3.0.*)


was (Author: tilman):
I added some logging for myself in the segment changed in PDFBOX-5128 which 
works only when strict parsing is off:

add non standard namespace http://ns.adobe.com/pdfx/1.3/ with prefix pdfx
add non standard namespace http://prismstandard.org/namespaces/basic/2.0/ with 
prefix prism

So I'd say your problem has been fixed by PDFBOX-5128 (and possibly by 
PDFBOX-5649 and PDFBOX-5668, not yet released)

> 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
>            Priority: Major
>         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
(v8.20.10#820010)

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

Reply via email to