Skip to content

Commit

Permalink
PDF/A-1. Add rule 6.1.4-3 about xref stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Git User committed Nov 13, 2023
1 parent fd9d82e commit cae4743
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/src/main/resources/org/verapdf/pdfa/validation/PDFA-1A.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@
</error>
<references/>
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_1" clause="6.1.4" testNumber="3"/>
<description>Xref streams shall not be used</description>
<test>containsXRefStream == false</test>
<error>
<message>The document uses xref streams</message>
<arguments/>
</error>
<references/>
</rule>
<rule object="CosString">
<id specification="ISO_19005_1" clause="6.1.6" testNumber="1"/>
<description>Hexadecimal strings shall contain an even number of non-white-space characters</description>
Expand Down
10 changes: 10 additions & 0 deletions core/src/main/resources/org/verapdf/pdfa/validation/PDFA-1B.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@
</error>
<references/>
</rule>
<rule object="PDDocument">
<id specification="ISO_19005_1" clause="6.1.4" testNumber="3"/>
<description>Xref streams shall not be used</description>
<test>containsXRefStream == false</test>
<error>
<message>The document uses xref streams</message>
<arguments/>
</error>
<references/>
</rule>
<rule object="CosString">
<id specification="ISO_19005_1" clause="6.1.6" testNumber="1"/>
<description>Hexadecimal strings shall contain an even number of non-white-space characters</description>
Expand Down

0 comments on commit cae4743

Please sign in to comment.