Re: Mistake in XSLT 1.0 Recommendation

Jeni Tennison <[email protected]>
Newsgroups gmane.org.w3c.xsl-editors
Organization Jeni Tennison Consulting Ltd
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.