Skip to content

Commit

Permalink
Add new test files #1200
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich committed May 15, 2023
1 parent d17db63 commit 0c6fb00
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Binary file added PDF_A-1b/1200/m1-1-F.pdf
Binary file not shown.
22 changes: 22 additions & 0 deletions PDF_A-1b/1200/m1-1-F.sch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://purl.oclc.org/dsdl/schematron ">

<!-- Issue# 1200 -->
<!-- https://github.com/veraPDF/veraPDF-library/issues/1200 -->
<!-- File: .\m1-1-F.pdf -->

<sch:pattern name = "Checking the validationReport: profile">
<sch:rule context="/report/jobs/job/validationReport">
<sch:assert test="(@isCompliant = 'true')">Failed check, Expected: isCompliant=true</sch:assert>
</sch:rule>
</sch:pattern>

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

</sch:schema>

0 comments on commit 0c6fb00

Please sign in to comment.