Re: Typo in the prose for p:escape-markup

Roger,

There's no need to escape > in XML

Regards,

Xmlizer

On Fri, Jun 19, 2009 at 7:45 PM, Costello, Roger L.<costello@mitre.org> wrote:
>
> 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 19:05:10 UTC