Skip to content

Commit

Permalink
PDF/UA-2. Add rule about Watermark annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Dec 26, 2023
1 parent a902a21 commit 74b8222
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 54 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<profile xmlns="http://www.verapdf.org/ValidationProfile" flavour="PDFUA_2">
<details creator="veraPDF Consortium" created="2023-03-13T10:53:06.894+03:00">
<name>ISO 14289-2:202x - 8.9 Annotations - 8.9.2.4.16 Watermark - Annot structure element</name>
<description>When used as real content, Watermark annotations shall be enclosed within Annot structure elements</description>
</details>
<hash></hash>
<rules>
<rule object="PDWatermarkAnnot">
<id specification="ISO_14289_2" clause="8.9.2.4.16" testNumber="1"/>
<description>When used as real content, Watermark annotations shall be enclosed within Annot structure elements</description>
<test>structParentType == null || isArtifact == true || structParentStandardType == 'Annot'</test>
<error>
<message>A Watermark annotation is nested within %1 tag (standard type = %2) instead of Annot</message>
<arguments>
<argument>structParentType</argument>
<argument>structParentStandardType</argument>
</arguments>
</error>
<references/>
</rule>
</rules>
<variables/>
</profile>

This file was deleted.

0 comments on commit 74b8222

Please sign in to comment.