Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

veraPDF test suite 6-6-2-3-2-t01-fail-b.pdf - mixture of catalog and page level metadata #99

Open
DietrichSeggern opened this issue Sep 4, 2017 · 1 comment
Assignees
Labels

Comments

@DietrichSeggern
Copy link

DietrichSeggern commented Sep 4, 2017

The file uses Extension Schemas on document/catalog and on page level. The actual metadata properties use a value type as defined on catalog level in a property defined on the page:

== Document/Catalog Extension Schema==
Schema: "cs:Custom schema"
Property: "CustomNumber" Type: TextValue
Type: "cp:ArticleNumber"
Field: "TextNumber" Type: Text

== Page Extension Schema==
Schema: "cs:Custom schema"
Property: "CProp" Type: ArticleNumber
Value Type: "cp:CValue
"Field: "CField" Type: Text

== Metadata used on page level==
cs:CProp/cp:TextNumber = "M17"

PDF/A-2 says: "Schemas present in metadata streams other than that of the Catalog may extend or replace some or all of a schema that was inherited from the Catalog’s stream."

As far as I see the case the use of the metadata properties is correct:
A property "cs:CProp" is used on a page where it is defined in an Extension Schema.
The property "cs:CProp" uses the type "ArticleNumber" which is defined on document level.

Dietrich

@bdoubrov bdoubrov self-assigned this Sep 6, 2017
@DmitryRemezow
Copy link
Contributor

The following tests were moved to the directory "Undefined" - #107 :

  1. veraPDF test suite 6-6-2-3-2-t01-fail-b -> veraPDF test suite 6-6-2-3-2-t01-undefined-a
    The Catalog metadata defines custom value used in a custom property in the page metadata

  2. veraPDF test suite 6-6-2-3-2-t01-pass-a -> veraPDF test suite 6-6-2-3-2-t01-undefined-b
    The Catalog metadata defines custom property, which is used in the page metadata

  3. veraPDF test suite 6-6-2-3-2-t01-pass-a -> veraPDF test suite 6-6-2-3-2-t01-undefined-c
    The Catalog metadata defines custom property; The page metadata replaces the definition of this property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants