Skip to content

Commit

Permalink
Update description of rules about metadata presence
Browse files Browse the repository at this point in the history
  • Loading branch information
Git User committed Jul 9, 2024
1 parent ffd03d9 commit f09a93c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@
</rule>
<rule object="PDDocument" tags="metadata">
<id specification="ISO_14289_1" clause="7.1" testNumber="8"/>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-1:2008, 14.3.2</description>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-1:2008, 14.3.2. The metadata stream dictionary shall contain entry Type with value /Metadata and entry Subtype with value /XML</description>
<test>metadata_size == 1</test>
<error>
<message>The document catalog dictionary doesn't contain metadata key</message>
<message>The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML</message>
<arguments/>
</error>
<references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1092,10 +1092,10 @@
</rule>
<rule object="PDDocument" tags="metadata">
<id specification="ISO_14289_2" clause="8.11.1" testNumber="2"/>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020, 14.3</description>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020, 14.3. The metadata stream dictionary shall contain entry Type with value /Metadata and entry Subtype with value /XML</description>
<test>metadata_size == 1</test>
<error>
<message>The document catalog dictionary doesn't contain metadata key</message>
<message>The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML</message>
<arguments/>
</error>
<references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1044,10 +1044,10 @@
</rule>
<rule object="PDDocument" tags="metadata">
<id specification="WTPDF_1_0" clause="8.11.1" testNumber="2"/>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020, 14.3</description>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020, 14.3. The metadata stream dictionary shall contain entry Type with value /Metadata and entry Subtype with value /XML</description>
<test>metadata_size == 1</test>
<error>
<message>The document catalog dictionary doesn't contain metadata key</message>
<message>The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML</message>
<arguments/>
</error>
<references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -908,10 +908,10 @@
</rule>
<rule object="PDDocument" tags="metadata">
<id specification="WTPDF_1_0" clause="8.11.1" testNumber="2"/>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020, 14.3</description>
<description>The Catalog dictionary of a conforming file shall contain the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020, 14.3. The metadata stream dictionary shall contain entry Type with value /Metadata and entry Subtype with value /XML</description>
<test>metadata_size == 1</test>
<error>
<message>The document catalog dictionary doesn't contain metadata key</message>
<message>The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML</message>
<arguments/>
</error>
<references>
Expand Down

0 comments on commit f09a93c

Please sign in to comment.