19 Nov 2003 16:01
Re: Mistake in XSLT 1.0 Recommendation
Jeni Tennison <jeni <at> jenitennison.com>
2003-11-19 15:01:47 GMT
2003-11-19 15:01:47 GMT
Hi Jens,
> Correct me if I'm wrong, but I noticed at least one mistake in the
> XSLT 1.0 Recommendation [1]: Describing 'Forwards-Compatible
> Processing' [2] the first example says
>
> <xsl:when test="system-property('xsl:version') >= 1.1">
>
> instead of
>
> <xsl:when test="system-property('xsl:version') >= 1.1">
There's no error here; unlike less-than signs, which always have to be
escaped in XML, the only place that a greater-than sign needs to be
escaped is when it appears in the sequence "]]>" in element content.
It's perfectly OK to have an unescaped ">" in an attribute value.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
RSS Feed