"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/resources/org/verapdf/pdfa/validation/PDFUA-1.xml" between
veraPDF-library-2.0.16.tar.gz and veraPDF-library-2.0.18.tar.gz

About: veraPDF-library is an industry supported, open source PDF/A validation library (Java based). Development version.

PDFUA-1.xml  (veraPDF-library-2.0.16):PDFUA-1.xml  (veraPDF-library-2.0.18)
skipping to change at line 53 skipping to change at line 53
<description>Tagged content should not present inside content marked as Artifact</description> <description>Tagged content should not present inside content marked as Artifact</description>
<test>structureTag == null || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length == 0</test> <test>structureTag == null || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length == 0</test>
<error> <error>
<message>Tagged content is present inside content marked as Arti fact</message> <message>Tagged content is present inside content marked as Arti fact</message>
<arguments/> <arguments/>
</error> </error>
<references/> <references/>
</rule> </rule>
<rule object="SESimpleContentItem"> <rule object="SESimpleContentItem">
<id specification="ISO_14289_1" clause="7.1" testNumber="3"/> <id specification="ISO_14289_1" clause="7.1" testNumber="3"/>
<description>Content shall be marked in the structure tree with sema <description>Content shall be marked as Artifact or tagged as real c
ntically appropriate tags in a logical reading ontent</description>
order. Content that does not render and does not have a rendered
equivalent shall be marked as an artifact.</description>
<test>parentStructureTag != null || parentsTags.split('&amp;').filte r(elem =&gt; elem == 'Artifact').length &gt; 0</test> <test>parentStructureTag != null || parentsTags.split('&amp;').filte r(elem =&gt; elem == 'Artifact').length &gt; 0</test>
<error> <error>
<message>Content is neither marked as Artifact nor tagged as rea l content</message> <message>Content is neither marked as Artifact nor tagged as rea l content</message>
<arguments/> <arguments/>
</error> </error>
<references/> <references/>
</rule> </rule>
<rule object="CosDocument"> <rule object="CosDocument">
<id specification="ISO_14289_1" clause="7.1" testNumber="4"/> <id specification="ISO_14289_1" clause="7.1" testNumber="4"/>
<description>Files shall have a Suspects value of false(ISO 32000-1: 2008, Table 321)</description> <description>Files shall have a Suspects value of false(ISO 32000-1: 2008, Table 321)</description>
skipping to change at line 727 skipping to change at line 726
(Alt != null &amp;&amp; Alt != '')</test> (Alt != null &amp;&amp; Alt != '')</test>
<error> <error>
<message>An annotation other than annotations of type Link, Widg et or Popup whose hidden flag is not set <message>An annotation other than annotations of type Link, Widg et or Popup whose hidden flag is not set
and whose rectangle is not outside the crop-box and does not have a Contents key does not have and whose rectangle is not outside the crop-box and does not have a Contents key does not have
an alternative description (in the form of an Alt entry in t he enclosing structure element)</message> an alternative description (in the form of an Alt entry in t he enclosing structure element)</message>
<arguments/> <arguments/>
</error> </error>
<references/> <references/>
</rule> </rule>
<rule object="PDAnnot"> <rule object="PDAnnot">
<id specification="ISO_14289_1" clause="7.18.1" testNumber="3"/>
<description>A form field whose hidden flag is not set and whose rec
tangle is not outside the crop-box
shall have a TU key present or all its Widget annotations shall
have alternative descriptions
(in the form of an Alt entry in the enclosing structure elements
)</description>
<test>Subtype != 'Widget' || isOutsideCropBox == true || (F &amp; 2)
== 2 || (TU != null &amp;&amp; TU != '') || (Alt != null &amp;&amp; Alt != '')<
/test>
<error>
<message>A form field whose hidden flag is not set and whose rec
tangle is not outside the crop-box
and does not have a TU key and its Widget annotations do not
have alternative descriptions
(in the form of an Alt entry in the enclosing structure elem
ent)</message>
<arguments/>
</error>
<references/>
</rule>
<rule object="PDAnnot">
<id specification="ISO_14289_1" clause="7.18.2" testNumber="1"/> <id specification="ISO_14289_1" clause="7.18.2" testNumber="1"/>
<description>Annotations of subtype TrapNet shall not be permitted.< /description> <description>Annotations of subtype TrapNet shall not be permitted.< /description>
<test>Subtype != 'TrapNet'</test> <test>Subtype != 'TrapNet'</test>
<error> <error>
<message>An annotation of subtype TrapNet exists</message> <message>An annotation of subtype TrapNet exists</message>
<arguments/> <arguments/>
</error> </error>
<references/> <references/>
</rule> </rule>
<rule object="PDPage"> <rule object="PDPage">
 End of changes. 2 change blocks. 
4 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)