W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2003

Re: Mistake in XSLT 1.0 Recommendation

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 19 Nov 2003 15:01:47 +0000
Message-ID: <138-2115909998.20031119150147@jenitennison.com>
To: "Jens Meiert" <jens.meiert@erde3.com>
Cc: xsl-editors@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:56 GMT