W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Typo in the prose for p:escape-markup

From: Costello, Roger L. <costello@mitre.org>
Date: Fri, 19 Jun 2009 13:45:58 -0400
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500400458BDE@IMCMBX3.MITRE.ORG>

Hey Norm,

The spec gives this example:

The input:

<description>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>This is a chunk of XHTML.</p>
</div>
</description>

produces:

<description>
&lt;div xmlns="http://www.w3.org/1999/xhtml">
&lt;p>This is a chunk of XHTML.&lt;/p>
&lt;/div>
</description>

I believe that all markup, including the ">" is escaped, correct? So the result should be:

<description>
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;p>This is a chunk of XHTML.&lt;/p&gt;
&lt;/div&gt;
</description>

Correct?

/Roger
Received on Friday, 19 June 2009 17:46:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 19 June 2009 17:46:33 GMT