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
MaximPlusov authored and github-actions[bot] committed Jul 9, 2024
1 parent 3fa7b18 commit 26f5ec2
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions PDF_A/PDFA-1A.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1093,10 +1093,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_1" clause="6.7.2" testNumber="1"/>
<description>The document catalog dictionary of a conforming file shall contain the Metadata key</description>
<description>The document catalog dictionary of a conforming file shall contain the Metadata key. 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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-1B.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1083,10 +1083,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_1" clause="6.7.2" testNumber="1"/>
<description>The document catalog dictionary of a conforming file shall contain the Metadata key</description>
<description>The document catalog dictionary of a conforming file shall contain the Metadata key. 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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-2A.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1276,10 +1276,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_2" clause="6.6.2.1" testNumber="1"/>
<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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-2B.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1242,10 +1242,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_2" clause="6.6.2.1" testNumber="1"/>
<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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-2U.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1264,10 +1264,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_2" clause="6.6.2.1" testNumber="1"/>
<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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-3A.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1276,10 +1276,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_3" clause="6.6.2.1" testNumber="1"/>
<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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-3B.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1242,10 +1242,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_3" clause="6.6.2.1" testNumber="1"/>
<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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-3U.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1264,10 +1264,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_3" clause="6.6.2.1" testNumber="1"/>
<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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,10 +1078,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_4" clause="6.7.2.1" testNumber="1"/>
<description>The document 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.2</description>
<description>The document 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.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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-4E.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1092,10 +1092,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_4" clause="6.7.2.1" testNumber="1"/>
<description>The document 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.2</description>
<description>The document 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.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
4 changes: 2 additions & 2 deletions PDF_A/PDFA-4F.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,10 +1078,10 @@
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_4" clause="6.7.2.1" testNumber="1"/>
<description>The document 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.2</description>
<description>The document 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.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

0 comments on commit 26f5ec2

Please sign in to comment.