Skip to content

Commit

Permalink
Remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov authored and github-actions[bot] committed Dec 27, 2023
1 parent aad8584 commit e9d308d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 11 deletions.
6 changes: 3 additions & 3 deletions PDF_UA/PDFUA-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<rule object="SENonStandard" tags="structure">
<id specification="ISO_14289_1" clause="7.1" testNumber="5"/>
<description>All non-standard structure types shall be mapped to the nearest functionally equivalent standard type, as defined in ISO 32000-1:2008, 14.8.4, in the role map dictionary of the structure tree root. This mapping may be indirect; within the role map a non-standard type can map directly to another non-standard type, but eventually the mapping shall terminate at a standard type</description>
<test>circularMappingExist == true</test>
<test>isNotMappedToStandardType == false</test>
<error>
<message>Non-standard structure type %1 is not mapped to a standard type</message>
<arguments>
Expand All @@ -139,11 +139,11 @@
<rule object="PDStructElem" tags="structure">
<id specification="ISO_14289_1" clause="7.1" testNumber="7"/>
<description>Standard tags defined in ISO 32000-1:2008, 14.8.4, shall not be remapped</description>
<test>isRemappedStandardType == false</test>
<test>remappedStandardType == null</test>
<error>
<message>Standard type %1 is remapped</message>
<arguments>
<argument>valueS</argument>
<argument>remappedStandardType</argument>
</arguments>
</error>
<references>
Expand Down
16 changes: 15 additions & 1 deletion PDF_UA/PDFUA-2-ISO32005.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<rule object="SENonStandard">
<id specification="ISO_14289_2" clause="8.2.4" testNumber="1"/>
<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>circularMappingExist == true</test>
<test>isNotMappedToStandardType == false</test>
<error>
<message>Non-standard structure type %1 is not mapped to a standard type</message>
<arguments>
Expand Down Expand Up @@ -136,6 +136,20 @@
</error>
<references/>
</rule>
<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>
<rule object="PDStructTreeRoot">
<id specification="ISO_14289_2" clause="8.2.5.2" testNumber="1"/>
<description>The structure tree root shall contain a single Document structure element as its only child, as specified in ISO 32000-2:2020, Annex L and ISO/TS 32005</description>
Expand Down
16 changes: 15 additions & 1 deletion PDF_UA/PDFUA-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<rule object="SENonStandard">
<id specification="ISO_14289_2" clause="8.2.4" testNumber="1"/>
<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>circularMappingExist == true</test>
<test>isNotMappedToStandardType == false</test>
<error>
<message>Non-standard structure type %1 is not mapped to a standard type</message>
<arguments>
Expand Down Expand Up @@ -136,6 +136,20 @@
</error>
<references/>
</rule>
<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>
<rule object="PDStructTreeRoot">
<id specification="ISO_14289_2" clause="8.2.5.2" testNumber="1"/>
<description>The structure tree root shall contain a single Document structure element as its only child, as specified in ISO 32000-2:2020, Annex L and ISO/TS 32005</description>
Expand Down
6 changes: 3 additions & 3 deletions PDF_UA/WCAG-2-2-Complete.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<rule object="SENonStandard" tags="major,machine,structure">
<id specification="ISO_14289_1" clause="7.1" testNumber="5"/>
<description>All non-standard structure types shall be mapped to the nearest functionally equivalent standard type, as defined in ISO 32000-1:2008, 14.8.4, in the role map dictionary of the structure tree root. This mapping may be indirect; within the role map a non-standard type can map directly to another non-standard type, but eventually the mapping shall terminate at a standard type</description>
<test>circularMappingExist == true</test>
<test>isNotMappedToStandardType == false</test>
<error>
<message>Non-standard structure type %1 is not mapped to a standard type</message>
<arguments>
Expand All @@ -81,11 +81,11 @@
<rule object="PDStructElem" tags="major,machine,structure">
<id specification="ISO_14289_1" clause="7.1" testNumber="7"/>
<description>Standard tags defined in ISO 32000-1:2008, 14.8.4, shall not be remapped</description>
<test>isRemappedStandardType == false</test>
<test>remappedStandardType == null</test>
<error>
<message>Standard type %1 is remapped</message>
<arguments>
<argument>valueS</argument>
<argument>remappedStandardType</argument>
</arguments>
</error>
<references>
Expand Down
6 changes: 3 additions & 3 deletions PDF_UA/WCAG-2-2-Machine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<rule object="SENonStandard" tags="major,machine,structure">
<id specification="ISO_14289_1" clause="7.1" testNumber="5"/>
<description>All non-standard structure types shall be mapped to the nearest functionally equivalent standard type, as defined in ISO 32000-1:2008, 14.8.4, in the role map dictionary of the structure tree root. This mapping may be indirect; within the role map a non-standard type can map directly to another non-standard type, but eventually the mapping shall terminate at a standard type</description>
<test>circularMappingExist == true</test>
<test>isNotMappedToStandardType == false</test>
<error>
<message>Non-standard structure type %1 is not mapped to a standard type</message>
<arguments>
Expand All @@ -81,11 +81,11 @@
<rule object="PDStructElem" tags="major,machine,structure">
<id specification="ISO_14289_1" clause="7.1" testNumber="7"/>
<description>Standard tags defined in ISO 32000-1:2008, 14.8.4, shall not be remapped</description>
<test>isRemappedStandardType == false</test>
<test>remappedStandardType == null</test>
<error>
<message>Standard type %1 is remapped</message>
<arguments>
<argument>valueS</argument>
<argument>remappedStandardType</argument>
</arguments>
</error>
<references>
Expand Down

0 comments on commit e9d308d

Please sign in to comment.