W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > April 2008

An old examples' problem

From: Vasil Rangelov <boen.robot@gmail.com>
Date: Sat, 12 Apr 2008 17:29:17 +0300
To: <public-xml-processing-model-comments@w3.org>
Message-ID: <4800c740.26a75e0a.34a8.70ae@mx.google.com>

OK, this is a very old problem, but I always thought it's so obvious that it
got to be fixed soon.

The examples for the escape-markup
(http://www.w3.org/XML/XProc/docs/langspec.html#c.escape-markup) and
unescape-markup
(http://www.w3.org/XML/XProc/docs/langspec.html#c.unescape-markup) are
flawed. The escaped example in both cases is:
===
<description>
&lt;p>This is a chunk.&lt;/p>
&lt;p>This is a another chunk.&lt;/p>
</description>
===
But this can't be right. I mean, what about the &gt;? The whole example
should be:
===
<description>
&lt;p&gt;This is a chunk.&lt;/p&gt;
&lt;p&gt;This is a another chunk.&lt;/p&gt;
</description>
===

Regards,
Vasil Rangelov
Received on Saturday, 12 April 2008 14:29:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 12 April 2008 14:29:54 GMT