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

Eric Leleu commented on PDFBOX-1368:
------------------------------------

In the XMPMediaManagmentSchema.java, the History attribute is declared with the 
PropertyType : "seq ResourceEvent"

        @PropertyType(propertyType = "seq ResourceEvent")
        public static final String HISTORY = "History";

A test should be done on the propertyType value in order to know if the content 
of "seq" or "bag" is a simple type or a complex one.
Maybe the propertyType should be split in two parameters (propertyType and 
subPropertyType) to test the expected type of a list element ?

        @PropertyType(propertyType = "seq", subPropertyType="ResourceEvent")
                
> Xmp validation KO if there are complex type in a seq element 
> -------------------------------------------------------------
>
>                 Key: PDFBOX-1368
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1368
>             Project: PDFBox
>          Issue Type: Bug
>          Components: XmpBox
>    Affects Versions: 1.8.0
>            Reporter: Eric Leleu
>            Assignee: Guillaume Bailleul
>         Attachments: metadata.rdf
>
>
> Hi,
> I updated my local repository with the last revision of the XMPBox.
> I encounter a validation issue on five PDF/A that were valid before.
> In attachment, there are  the XMP stream.
> The XMPBox parser expects a text content in a <rdf:seq><rdf:li> element, but 
> in this XMP there are a rdf:Description as content.
> BR,
> Eric

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to