Skip to content

Commit 49cef3c

Browse files
author
Git User
committed
PDF/UA-2. Improve descriptions for rules 8.2.5.20-1 and 8.9.2.3-1
1 parent 09a98c9 commit 49cef3c

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

core/src/main/resources/org/verapdf/pdfa/validation/PDFUA-2-ISO32005.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@
267267
</rule>
268268
<rule object="PDLinkAnnot" tags="annotation,structure">
269269
<id specification="ISO_14289_2" clause="8.2.5.20" testNumber="1"/>
270-
<description>A link annotation and its associated content shall be enclosed in either a Link or Reference structure element</description>
270+
<description>When used as real content, a link annotation and its associated content shall be enclosed in either a Link or Reference structure element</description>
271271
<test>structParentStandardType == 'Link' || structParentStandardType == 'Reference' || structParentType == null || isArtifact == true</test>
272272
<error>
273-
<message>A Link annotation is an Artifact or is nested within %1 tag (standard type = %2) instead of Link or Reference</message>
273+
<message>A Link annotation is nested within %1 tag (standard type = %2) instead of Link or Reference</message>
274274
<arguments>
275275
<argument>structParentType</argument>
276276
<argument>structParentStandardType</argument>
@@ -787,10 +787,10 @@
787787
</rule>
788788
<rule object="PDMarkupAnnot" tags="annotation,structure">
789789
<id specification="ISO_14289_2" clause="8.9.2.3" testNumber="1"/>
790-
<description>Markup annotations shall be enclosed within Annot structure elements</description>
790+
<description>When used as real content, Markup annotations shall be enclosed within Annot structure elements</description>
791791
<test>structParentStandardType == 'Annot' || structParentType == null || isArtifact == true</test>
792792
<error>
793-
<message>A Markup annotation is an Artifact or is nested within %1 tag (standard type = %2) instead of Annot</message>
793+
<message>A Markup annotation is nested within %1 tag (standard type = %2) instead of Annot</message>
794794
<arguments>
795795
<argument>structParentType</argument>
796796
<argument>structParentStandardType</argument>

core/src/main/resources/org/verapdf/pdfa/validation/WTPDF-1-0-Accessibility.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@
219219
</rule>
220220
<rule object="PDLinkAnnot" tags="annotation,structure">
221221
<id specification="WTPDF_1_0" clause="8.2.5.20" testNumber="1"/>
222-
<description>A link annotation and its associated content shall be enclosed in either a Link or Reference structure element</description>
222+
<description>When used as real content, a link annotation and its associated content shall be enclosed in either a Link or Reference structure element</description>
223223
<test>structParentStandardType == 'Link' || structParentStandardType == 'Reference' || structParentType == null || isArtifact == true</test>
224224
<error>
225-
<message>A Link annotation is an Artifact or is nested within %1 tag (standard type = %2) instead of Link or Reference</message>
225+
<message>A Link annotation is nested within %1 tag (standard type = %2) instead of Link or Reference</message>
226226
<arguments>
227227
<argument>structParentType</argument>
228228
<argument>structParentStandardType</argument>
@@ -739,10 +739,10 @@
739739
</rule>
740740
<rule object="PDMarkupAnnot" tags="annotation,structure">
741741
<id specification="WTPDF_1_0" clause="8.9.2.3" testNumber="1"/>
742-
<description>Markup annotations shall be enclosed within Annot structure elements</description>
742+
<description>When used as real content, Markup annotations shall be enclosed within Annot structure elements</description>
743743
<test>structParentStandardType == 'Annot' || structParentType == null || isArtifact == true</test>
744744
<error>
745-
<message>A Markup annotation is an Artifact or is nested within %1 tag (standard type = %2) instead of Annot</message>
745+
<message>A Markup annotation is nested within %1 tag (standard type = %2) instead of Annot</message>
746746
<arguments>
747747
<argument>structParentType</argument>
748748
<argument>structParentStandardType</argument>

core/src/main/resources/org/verapdf/pdfa/validation/WTPDF-1-0-Reuse.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@
219219
</rule>
220220
<rule object="PDLinkAnnot" tags="annotation,structure">
221221
<id specification="WTPDF_1_0" clause="8.2.5.20" testNumber="1"/>
222-
<description>A link annotation and its associated content shall be enclosed in either a Link or Reference structure element</description>
222+
<description>When used as real content, a link annotation and its associated content shall be enclosed in either a Link or Reference structure element</description>
223223
<test>structParentStandardType == 'Link' || structParentStandardType == 'Reference' || structParentType == null || isArtifact == true</test>
224224
<error>
225-
<message>A Link annotation is an Artifact or is nested within %1 tag (standard type = %2) instead of Link or Reference</message>
225+
<message>A Link annotation is nested within %1 tag (standard type = %2) instead of Link or Reference</message>
226226
<arguments>
227227
<argument>structParentType</argument>
228228
<argument>structParentStandardType</argument>
@@ -664,10 +664,10 @@
664664
</rule>
665665
<rule object="PDMarkupAnnot" tags="annotation,structure">
666666
<id specification="WTPDF_1_0" clause="8.9.2.3" testNumber="1"/>
667-
<description>Markup annotations shall be enclosed within Annot structure elements</description>
667+
<description>When used as real content, Markup annotations shall be enclosed within Annot structure elements</description>
668668
<test>structParentStandardType == 'Annot' || structParentType == null || isArtifact == true</test>
669669
<error>
670-
<message>A Markup annotation is an Artifact or is nested within %1 tag (standard type = %2) instead of Annot</message>
670+
<message>A Markup annotation is nested within %1 tag (standard type = %2) instead of Annot</message>
671671
<arguments>
672672
<argument>structParentType</argument>
673673
<argument>structParentStandardType</argument>

0 commit comments

Comments
 (0)