All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tests.svrl.svrl-property-copy-of.xml Maven / Gradle / Ivy

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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy