[ 
https://issues.apache.org/jira/browse/PDFBOX-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Leleu updated PDFBOX-1454:
-------------------------------

    Component/s: XmpBox

Hi,

The OpenOffice pdf is considered as a valid PDF/A-1b.

For the file  "Pdf_A_Test.pdf", the problem comes from the XmpBox module that 
rejects an empty RDF:Description element.

According to the XMP specification : "The element content of top-level 
rdf:Description elements shall consist of only zero or more XML elements for 
XMP properties. XMP properties may be arbitrarily apportioned among the 
rdf:Description elements."

So, it is a false reject.

The fix seems to be easy but I need more time to check if there are no side 
effects.

BR,
Eric 


                
> false reject of Pdf A1b?
> ------------------------
>
>                 Key: PDFBOX-1454
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1454
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight, XmpBox
>    Affects Versions: 1.8.0
>         Environment: java6 windows
>            Reporter: Ralf Hauser
>         Attachments: adobe10.1.4_valid.png, OpenOffice3.4.1_A1a.pdf, 
> Pdf_A_Test.pdf
>
>
> using, http://pdfbox.apache.org/userguide/preflight.html , I get
> <<The file C:\Users\Public\Documents\Pdf_A_Test.pdf is not valid, error(s) :
> 7.1 : Error on MetaData, Does not contain element>>
> http://www.intarsys.de/pdfa-check claims it is valid

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to