#513 match=\\\\\\\"schema-attribute(xyz)\\\\\\\"

v8.7.1
closed
Michael Kay
5
2012-10-08
2006-05-03
Michael Kay
No

An XSLT pattern of the form schema-attribute(xyz)
generates a warning that it will never match any nodes;
and indeed, it does never match any nodes, although it
should.

Workaround: use attribute::schema-attribute(xyz)

This was actually implementing an error in the spec,
which stated that the default axis was attribute for a
step of the form attribute(x), but child in the case of
schema-attribute(x). The error in the spec has since
been corrected.

Discussion