Skip to content

Commit

Permalink
Update property types to Set/List of String
Browse files Browse the repository at this point in the history
  • Loading branch information
Git User committed May 15, 2024
1 parent e9616d1 commit 57360af
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<rule object="SEMarkedContent" tags="artifact">
<id specification="ISO_14289_1" clause="7.1" testNumber="2"/>
<description>Tagged content should not present inside content marked as Artifact</description>
<test>isTaggedContent == false || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length == 0</test>
<test>isTaggedContent == false || parentsTags.contains('Artifact') == false</test>
<error>
<message>Tagged content (parent struct element %1) is present inside content marked as Artifact</message>
<arguments>
Expand All @@ -91,7 +91,7 @@
<rule object="SESimpleContentItem" tags="artifact">
<id specification="ISO_14289_1" clause="7.1" testNumber="3"/>
<description>Content shall be marked as Artifact or tagged as real content</description>
<test>isTaggedContent == true || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length &gt; 0</test>
<test>isTaggedContent == true || parentsTags.contains('Artifact') == true</test>
<error>
<message>Content is neither marked as Artifact nor tagged as real content</message>
<arguments/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<rule object="SESimpleContentItem" tags="artifact">
<id specification="ISO_14289_2" clause="8.2.2" testNumber="1"/>
<description>Content that is not considered real shall be an artifact</description>
<test>isTaggedContent == true || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length &gt; 0</test>
<test>isTaggedContent == true || parentsTags.contains('Artifact') == true</test>
<error>
<message>Content is neither marked as Artifact nor tagged as real content</message>
<arguments/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rule object="MainXMPPackage" tags="metadata">
<id specification="WTPDF_1_0" clause="6.1.3" testNumber="1"/>
<description>File conforming to the WTPDF 1.0 conformance level for accessibility shall include a PDF Declaration with the URI identifier "http://pdfa.org/declarations/wtpdf#accessibility1.0" as its pdfd:conformsTo entry</description>
<test>declarations.split(',').filter(declarations =&gt; declarations == 'http://pdfa.org/declarations/wtpdf#accessibility1.0').length == 1</test>
<test>declarations.contains('http://pdfa.org/declarations/wtpdf#accessibility1.0') == true</test>
<error>
<message>File conforming to the WTPDF 1.0 conformance level for accessibility doesn't include a PDF Declaration with the URI identifier "http://pdfa.org/declarations/wtpdf#accessibility1.0" as its pdfd:conformsTo entry</message>
<arguments/>
Expand Down Expand Up @@ -43,7 +43,7 @@
<rule object="SESimpleContentItem" tags="artifact">
<id specification="WTPDF_1_0" clause="8.2.2" testNumber="1"/>
<description>Content that is not considered real shall be an artifact</description>
<test>isTaggedContent == true || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length &gt; 0</test>
<test>isTaggedContent == true || parentsTags.contains('Artifact') == true</test>
<error>
<message>Content is neither marked as Artifact nor tagged as real content</message>
<arguments/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rule object="MainXMPPackage" tags="metadata">
<id specification="WTPDF_1_0" clause="6.1.2" testNumber="1"/>
<description>File conforming to the WTPDF 1.0 conformance level for reuse shall include a PDF Declaration with the URI identifier "http://pdfa.org/declarations/wtpdf#reuse1.0" as its pdfd:conformsTo entry</description>
<test>declarations.split(',').filter(declarations =&gt; declarations == 'http://pdfa.org/declarations/wtpdf#reuse1.0').length == 1</test>
<test>declarations.contains('http://pdfa.org/declarations/wtpdf#reuse1.0') == true</test>
<error>
<message>File conforming to the WTPDF 1.0 conformance level for reuse doesn't include a PDF Declaration with the URI identifier "http://pdfa.org/declarations/wtpdf#reuse1.0" as its pdfd:conformsTo entry</message>
<arguments/>
Expand Down Expand Up @@ -43,7 +43,7 @@
<rule object="SESimpleContentItem" tags="artifact">
<id specification="WTPDF_1_0" clause="8.2.2" testNumber="1"/>
<description>Content that is not considered real shall be an artifact</description>
<test>isTaggedContent == true || parentsTags.split('&amp;').filter(elem =&gt; elem == 'Artifact').length &gt; 0</test>
<test>isTaggedContent == true || parentsTags.contains('Artifact') == true</test>
<error>
<message>Content is neither marked as Artifact nor tagged as real content</message>
<arguments/>
Expand Down

0 comments on commit 57360af

Please sign in to comment.