Miroslav Holubec created PDFBOX-5591:
----------------------------------------

             Summary: Parsing of XMP metadata without optional xmpmeta element
                 Key: PDFBOX-5591
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5591
             Project: PDFBox
          Issue Type: Bug
          Components: XmpBox
    Affects Versions: 2.0.28
            Reporter: Miroslav Holubec


As per [XMP 
Specification|https://printtechnologies.org/wp-content/uploads/2020/03/xmp-specification-jan04_fileticket1nrcKq4MTKctabid158mid669.pdf]
 is the _xmpmeta_ element optional:

The sections below describe the high-level structure of XMP data in an XMP 
Packet:
 * The outermost element is *optionally* an x:xmpmeta element
 * It contains a single rdf:RDF element
 * which in turn contains one or more rdf:Description elements
 * each of which contains one or more XMP Properties.

 
DomXmpParser requires it as per call to expectNaming(root, "adobe:ns:meta/", 
"x", "xmpmeta");



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

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

Reply via email to