-
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.
Update rules about non standard structure types
- Loading branch information
1 parent
91c03e7
commit e9ade88
Showing
7 changed files
with
64 additions
and
6 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
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
25 changes: 25 additions & 0 deletions
25
...Logical Structure/6.7.3 Artefacts/6.7.3.4 Structure types/verapdf-profile-6-7-3-4-t03.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,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<profile xmlns="http://www.verapdf.org/ValidationProfile" flavour="PDFA_2_A"> | ||
<details creator="veraPDF Consortium" created="2016-02-15T10:58:04.137+03:00"> | ||
<name>ISO 19005-2:2011 - 6.7.3 Artefacts - Remapped standard types</name> | ||
<description>Standard tags shall not be remapped to a non-standard type</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="SENonStandard"> | ||
<id specification="ISO_19005_2" clause="6.7.3.4" testNumber="3"/> | ||
<description>Standard tags shall not be remapped to a non-standard type</description> | ||
<test>remappedStandardType == null</test> | ||
<error> | ||
<message>The standard structure type %1 is remapped to a non-standard type</message> | ||
<arguments> | ||
<argument>remappedStandardType</argument> | ||
</arguments> | ||
</error> | ||
<references> | ||
<reference specification="ISO 32000-1:2008" clause="14.8.4"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |
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
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
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
33 changes: 33 additions & 0 deletions
33
PDF_UA/2/8.2 Logical structure/8.2.4 Structure types/verapdf-profile-8-2-4-t04.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,33 @@ | ||
<?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.137+03:00"> | ||
<name>ISO 14289-2:202x - 8.2 Logical structure - 8.2.4 Structure types - Remapped standard types</name> | ||
<description>All structure elements shall belong to, or be role mapped to, at least one of the following | ||
namespaces specified in ISO 32000-2:2020, 14.8.6: | ||
— the PDF 1.7 namespace; | ||
— the PDF 2.0 namespace; | ||
— the MathML namespace</description> | ||
</details> | ||
<hash></hash> | ||
<rules> | ||
<rule object="SENonStandard"> | ||
<id specification="ISO_14289_2" clause="8.2.4" testNumber="4"/> | ||
<description>All structure elements shall belong to, or be role mapped to, at least one of the following | ||
namespaces specified in ISO 32000-2:2020, 14.8.6: | ||
— the PDF 1.7 namespace; | ||
— the PDF 2.0 namespace; | ||
— the MathML namespace</description> | ||
<test>remappedStandardType == null</test> | ||
<error> | ||
<message>The standard structure type %1 is remapped to a non-standard type</message> | ||
<arguments> | ||
<argument>remappedStandardType</argument> | ||
</arguments> | ||
</error> | ||
<references> | ||
<reference specification="ISO 32000-2:2020" clause="14.8.6"/> | ||
</references> | ||
</rule> | ||
</rules> | ||
<variables/> | ||
</profile> |