You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Guillaume Bailleul (JIRA)" <ji...@apache.org> on 2013/12/08 08:52:36 UTC

[jira] [Commented] (PDFBOX-1343) Addition of missing XMP standard value types

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

Guillaume Bailleul commented on PDFBOX-1343:
--------------------------------------------

Last classes added in r1549002.
All should be existing

I used this source of information to ensure i did not forgot any metadata :
http://www.adobe.com/content/dam/Adobe/en/devnet/livecycle/pdfs/readercomp_pdfa.pdf


> Addition of missing XMP standard value types
> --------------------------------------------
>
>                 Key: PDFBOX-1343
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1343
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight, XmpBox
>    Affects Versions: 1.7.0
>            Reporter: Petras
>            Assignee: Guillaume Bailleul
>              Labels: Parser, metadata, schema
>
> Not all value types, defined in XMP Specification, are included in org.apache.padaf.xmpbox.parser.NSMapping. Thus its method isBasic() returns false on such types, like Choice or Real.
> If PDF/A file includes custom metadata and its extension schema description with such types, PDF/A validation using Preflight fails with error like this:
> "7.6 : Error on MetaData, ValueType 'closed Choice of Text' is unknown. no declaration found in this schema"
> These value types are not included and regarded in NSMapping class:
> • Basic value types: (open and closed) Choice, Dimensions, Locale, MIMEType, ProperName, Real, Thumbnail, XPath
> • Media Management value types: AgentName, RenditionClass, ResourceEvent, ResourceRef, Version
> • Basic Job/Workflow value type: Job
> • EXIF schema value types: Flash, CFAPattern, DeviceSettings, GPSCoordinate, OECF/SFR, Rational
> Note, that XPath type in NSMapping is included only in conjunction with bag, but spelled incorrectly as "bag Xpath".



--
This message was sent by Atlassian JIRA
(v6.1#6144)