-
Notifications
You must be signed in to change notification settings - Fork 45
attribute nodes in context of schematron rule #44
Comments
There is a "visit-no-attributes" option to improve performance when there is no need to check the attributes. Seems like this is enabled for you. For oXygen you can check and change it in options -> XML -> XML-Parser -> Schematron. |
Thanks for your comments, @PStellmann!
Yes. I noticed that. In the <xsl:param name="optimize" /> The inline comments describe this as follows <!-- optimize
"visit-no-attributes"
Use only when the schema has no attributes as the context nodes-->
I commented this parameter out, with no changed behavior. In fact this parameter is never used in the XSL, so seems not to do anything.
Thanks for the hint. I wasn't aware of it. But as said @oxygenxml does it right from the beginning. It is the xsl of this skeleton implementation that has this unexpected behavior. I think that @oxygenxml may be build on this implementation but modified it for the editor. |
I oversaw that As this issue is a duplicate issue to #29 I will close this issue. The problem with the |
There are some modifications in the Schematron implementation from oXygen. We are using an older version of skeleton stylesheets, but we want to update the them to use the latest version. |
This may be related to #29.
Source Document
Schematron 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?
The text was updated successfully, but these errors were encountered: