You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petras (JIRA)" <ji...@apache.org> on 2012/06/15 13:55:42 UTC

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

Petras created PDFBOX-1343:
------------------------------

             Summary: 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


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

       

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

Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
    [ 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

       

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

Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424301#comment-13424301 ] 

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

Still have to implement all exif stuffs
                
> 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

       

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

Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424299#comment-13424299 ] 

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

Added jobType and other structured resources in r 1366609
                
> 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

       

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

Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Bailleul reassigned PDFBOX-1343:
------------------------------------------

    Assignee: Guillaume Bailleul
    
> 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