Skip to content

Commit

Permalink
Update policy file: PDF_A-3a/812
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich committed Dec 27, 2023
1 parent ba6e01b commit 044b218
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions PDF_A-3a/812/Example.sch
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,18 @@
</sch:rule>
</sch:pattern>

<sch:pattern name = "Checking for the absence of logs">
<sch:pattern name = "Checking the logs">
<sch:rule context="/report/jobs/job">
<sch:assert test="not(logs)">Failed check, Expected: no logs</sch:assert>
<sch:assert test="count(logs) = 1">Failed check, Expected: contains logs</sch:assert>
</sch:rule>

<sch:rule context="/report/jobs/job/logs">
<sch:assert test="@logsCount = '1'">Failed check, Expected: 1</sch:assert>
</sch:rule>

<sch:rule context="/report/jobs/job/logs/logMessage">
<sch:assert test='(contains(., "CFF Type1 FontProgram contains duplicated glyph name a73") and @occurrences = "1" and @level = "WARNING")'>Invalid logs, Expected:
'WARNING: CFF Type1 FontProgram contains duplicated glyph name a73' with 1 occurrences</sch:assert>
</sch:rule>
</sch:pattern>

Expand Down

0 comments on commit 044b218

Please sign in to comment.