Page 1 of 1

nvdl + schematron + xslt prefix

Posted: Mon Aug 20, 2007 9:30 pm
by queshaw
Oxygen complains that the attribute dummy-for-xmlns is not allowed on some element when I assign a prefix to the XSLT namespace in schematron, e.g.:


<rules xmlns="">
<validate schema="test.sch" schemaType="application/x-schematron"/>


<schema xmlns="">
<ns prefix="test" uri=""/>
<pattern name="a">
<rule context="doc">
<assert test="test:transform">Blah.</assert>

The 1.5 schematron skeleton that I have would have created an attribute with the prefix 'test' named 'dummy-for-xmlns'. Using the above schematron as the schema works, but using the NVDL results in an error message saying attribute test:dummy-for-xmlns is not allowed somewhere.

Posted: Fri Aug 24, 2007 11:42 am
by sorin_ristache

The error is reported on the internal stylesheet obtained from the Schematron schema and used to validate the XML document. It happens only when the Shematron schema uses elements from the XSLT namespace. We will fix the problem.

Thank you,