tests.core.include-baseuri-fixup-01.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of schematron-conformance Show documentation
Show all versions of schematron-conformance Show documentation
Schematron conformance tests
The newest version!
<testcase xmlns="tag:[email protected],2019:Schematron:Testsuite" expect="valid" id="include-baseuri-fixup"> <label>Include performs base URI fixup</label> <reference>XML Inclusions (XInclude) Version 1.1, Section 4.7.5.</reference> <documents> <primary filename="document.xml"> <element xmlns=""/> </primary> <secondary filename="subdir/include-1.sch"> <rule xmlns="http://purl.oclc.org/dsdl/schematron" context="/"> <include href="include-2.sch"/> </rule> </secondary> <secondary filename="subdir/include-2.sch"> <assert test="true()"/> </secondary> </documents> <schemas> <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron"> <sch:pattern> <sch:include href="subdir/include-1.sch"/> </sch:pattern> </sch:schema> </schemas> </testcase>