Re: Mistake in XSLT 1.0 Recommendation

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') &gt;= 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/

Received on Wednesday, 19 November 2003 10:01:56 UTC