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 2012/07/28 10:09:34 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=13424297#comment-13424297 ]
Guillaume Bailleul commented on PDFBOX-1343:
--------------------------------------------
added derived types in r1366607
> 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 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