This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Description
This may be related to #29.
Source Document
Schematron Schema
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<sch:pattern>
<sch:rule context="@foo">
<sch:assert test="false()">There should be no foo attribute.</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
The XSLT from the schema is compiled with iso_svrl_for_xslt2.xsl.
The compiled schematron XSLT does not fire for the attribute @foo. Attributes in general (given as context) seem not to work.
The schematron implementation in @oxygenxml provides the expected error.
Is this a bug in the skeleton implementation?