tests.svrl.svrl-property-copy-of.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="invalid" features="svrl" id="svrl-property-copy-of"> <label>A xsl:copy-of inside a sch:property is executed</label> <reference>ISO Schematron 2016: Annex C Clause 11 (xslt), Annex H Clause 11 (xslt2)</reference> <documents> <primary filename="document.xml"> <element xmlns=""/> </primary> </documents> <schemas> <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <sch:pattern> <sch:rule context="*"> <sch:assert test="false()" properties="copy-of"/> </sch:rule> </sch:pattern> <sch:properties> <sch:property id="copy-of"> <xsl:copy-of select="."/> </sch:property> </sch:properties> </sch:schema> </schemas> <expectations xmlns:svrl="http://purl.oclc.org/dsdl/svrl"> <expectation test="count(//svrl:property-reference/*) > 0"/> </expectations> </testcase>