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

Re: unescape-markup - support for text/xml

From: Innovimax SARL <innovimax@gmail.com>
Date: Mon, 28 Apr 2008 13:05:12 +0200
Message-ID: <546c6c1c0804280405h2e29f990m4ef7969f537f04e0@mail.gmail.com>
To: Toman_Vojtech@emc.com
Cc: public-xml-processing-model-wg@w3.org
>
> Sorry for making this thread longer and longer, but I just noticed that
> the example in section 7.1.8 (p:escape-markup) is probably not entirely
> correct. It says that the result of the step is:
>
> <description>
> &lt;div xmlns="http://www.w3.org/1999/xhtml">
> &lt;p>This is a chunk of XHTML.&lt;/p>
> &lt;/div>
> </description>
>
> but I think it should look like this:
>
> <description>
> &lt;?xml version="1.0" encoding="UTF-8"?>
> &lt;div xmlns="http://www.w3.org/1999/xhtml">
> &lt;p>This is a chunk of XHTML.&lt;/p>
> &lt;/div>
> </description>
>
> unless we state that 'omit-xml-declaration' is set to false in the
> example.
>

I don't agree with this one, xml declaration SHOULD never be escaped

Regards,

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Monday, 28 April 2008 11:05:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 28 April 2008 11:05:47 GMT