Skip to content

Commit 40516b6

Browse files
author
Jelte Jansen
committed
Backport PR to fix attribute checks
See Schematron/schematron#41
1 parent 4bccfdf commit 40516b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/convert_xsl/iso_schematron_skeleton_for_saxon.xsl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,10 @@ which require a preprocess.
516516
which I find a bit surprising but anyway I'll use the longr faster version.
517517
-->
518518
<xsl:variable name="context-xpath">
519+
<!--
519520
<xsl:if test="$attributes='true' and parent::node() ">@*|</xsl:if>
521+
-->
522+
<xsl:if test="$attributes='true'">@*|</xsl:if>
520523
<xsl:choose>
521524
<xsl:when test="$only-child-elements='true'">*</xsl:when>
522525
<xsl:when test="$visit-text='true'">node()</xsl:when>

0 commit comments

Comments
 (0)