Skip to content

Commit

Permalink
WTPDF. Fix declaration rule descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 2, 2024
1 parent b8eaf18 commit aada70b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<details creator="veraPDF Consortium" created="2024-02-15T10:58:04.766+03:00">
<name>WTPDF 1.0 - 6.1.3 Conformance level for accessibility - PDF Declaration</name>
<description>File conforming to the WTPDF 1.0 conformance level for accessibility shall include a PDF Declaration with the URI
identifier "http://pdfa.org/declarations/wtpdf/#accessibility1.0" as its pdfd:conformsTo entry</description>
identifier "http://pdfa.org/declarations/wtpdf#accessibility1.0" as its pdfd:conformsTo entry</description>
</details>
<hash></hash>
<rules>
<rule object="MainXMPPackage" tags="metadata">
<id specification="WTPDF_1_0" clause="6.1.3" testNumber="1"/>
<description>File conforming to the WTPDF 1.0 conformance level for accessibility shall include a PDF Declaration with the URI
identifier "http://pdfa.org/declarations/wtpdf/#accessibility1.0" as its pdfd:conformsTo entry</description>
identifier "http://pdfa.org/declarations/wtpdf#accessibility1.0" as its pdfd:conformsTo entry</description>
<test>declarations.split(',').filter(declarations =&gt; declarations == 'http://pdfa.org/declarations/wtpdf#accessibility1.0').length == 1</test>
<error>
<message>File conforming to the WTPDF 1.0 conformance level for accessibility doesn't include a PDF Declaration with the URI
identifier "http://pdfa.org/declarations/wtpdf/#accessibility1.0" as its pdfd:conformsTo entry</message>
identifier "http://pdfa.org/declarations/wtpdf#accessibility1.0" as its pdfd:conformsTo entry</message>
<arguments/>
</error>
<references/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<details creator="veraPDF Consortium" created="2024-02-15T10:58:04.766+03:00">
<name>WTPDF 1.0 - 6.1.2 Conformance level for reuse - PDF Declaration</name>
<description>File conforming to the WTPDF 1.0 conformance level for reuse shall include a PDF Declaration with the URI
identifier "http://pdfa.org/declarations/wtpdf/#reuse1.0" as its pdfd:conformsTo entry</description>
identifier "http://pdfa.org/declarations/wtpdf#reuse1.0" as its pdfd:conformsTo entry</description>
</details>
<hash></hash>
<rules>
<rule object="MainXMPPackage" tags="metadata">
<id specification="WTPDF_1_0" clause="6.1.2" testNumber="1"/>
<description>File conforming to the WTPDF 1.0 conformance level for reuse shall include a PDF Declaration with the URI
identifier "http://pdfa.org/declarations/wtpdf/#reuse1.0" as its pdfd:conformsTo entry</description>
identifier "http://pdfa.org/declarations/wtpdf#reuse1.0" as its pdfd:conformsTo entry</description>
<test>declarations.split(',').filter(declarations =&gt; declarations == 'http://pdfa.org/declarations/wtpdf#reuse1.0').length == 1</test>
<error>
<message>File conforming to the WTPDF 1.0 conformance level for reuse doesn't include a PDF Declaration with the URI
identifier "http://pdfa.org/declarations/wtpdf/#reuse1.0" as its pdfd:conformsTo entry</message>
identifier "http://pdfa.org/declarations/wtpdf#reuse1.0" as its pdfd:conformsTo entry</message>
<arguments/>
</error>
<references/>
Expand Down

0 comments on commit aada70b

Please sign in to comment.