-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDF/UA. Add rules about struct tree root parent.
PDF/UA-1(7.1-12),PDF/UA-2(8.2.1-2)
- Loading branch information
1 parent
195fe3f
commit 16488d9
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<profile xmlns="http://www.verapdf.org/ValidationProfile" flavour="PDFUA_1"> | ||
<details creator="veraPDF Consortium" created="2020-03-13T10:58:04.098+03:00"> | ||
<name>ISO 14289-1:2014 - 7.1 General - Struct element parent</name> | ||
<description>Struct element shall contain the P entry according to ISO 32000-1:2008, 14.7.2, Table 355</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="PDStructElem" tags="critical,machine,structure"> | ||
<id specification="ISO_14289_1" clause="7.1" testNumber="12"/> | ||
<description>A struct element shall contain the P entry according to ISO 32000-1:2008, 14.7.2, Table 355</description> | ||
<test>containsParent == true</test> | ||
<error> | ||
<message>A struct element does not contain the P entry</message> | ||
<arguments/> | ||
</error> | ||
<references> | ||
<reference specification="ISO 32000-1:2008" clause="14.7.2, Table 355"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |
23 changes: 23 additions & 0 deletions
23
PDF_UA/2/8.2 Logical structure/8.2.1 General/verapdf-profile-8-2-1-t02.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?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:58:04.098+03:00"> | ||
<name>ISO 14289-2:202x - 8.2 Logical structure - 8.2.1 General - Struct element parent</name> | ||
<description>Struct element shall contain the P entry according to ISO 32000-2:2020, 14.7.2, Table 323</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="PDDocument"> | ||
<id specification="ISO_14289_2" clause="8.2.1" testNumber="2"/> | ||
<description>Struct element shall contain the P entry according to ISO 32000-2:2020, 14.7.2, Table 323</description> | ||
<test>containsParent == true</test> | ||
<error> | ||
<message>A struct element does not contain the P entry</message> | ||
<arguments/> | ||
</error> | ||
<references> | ||
<reference specification="ISO 32000-2:2020" clause="14.7.2, Table 323"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |