Skip to content

Commit

Permalink
PDF/UA-1. Update rules 7.2-30 - 7.2-32
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Dec 4, 2023
1 parent a329844 commit 40b4590
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PDF_UA/1/7.2 Text/verapdf-profile-7-2-t30.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rule object="SEMarkedContent" tags="major,machine,lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="30"/>
<description>Natural language for text in ActualText attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || ActualText == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || ActualText == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in ActualText attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand Down
2 changes: 1 addition & 1 deletion PDF_UA/1/7.2 Text/verapdf-profile-7-2-t31.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rule object="SEMarkedContent" tags="major,machine,lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="31"/>
<description>Natural language for text in Alt attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || Alt == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || Alt == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in Alt attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand Down
2 changes: 1 addition & 1 deletion PDF_UA/1/7.2 Text/verapdf-profile-7-2-t32.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rule object="SEMarkedContent" tags="major,machine,lang,alt-text">
<id specification="ISO_14289_1" clause="7.2" testNumber="32"/>
<description>Natural language for text in E attribute in Span Marked Content shall be determined</description>
<test>tag != 'Span' || E == null || Lang_size != 0 || inheritedLang != null || gSizeCatalogLang != 0</test>
<test>tag != 'Span' || E == null || Lang != null || inheritedLang != null || gSizeCatalogLang != 0</test>
<error>
<message>Natural language for text in E attribute in Span Marked Content cannot be determined</message>
<arguments/>
Expand Down

0 comments on commit 40b4590

Please sign in to comment.