- From: <Toman_Vojtech@emc.com>
- Date: Mon, 28 Apr 2008 07:26:12 -0400
- To: <public-xml-processing-model-wg@w3.org>
Actually, as I think about it now, I wonder if p:escape-markup should generate the XML declaration at all... Vojtech ________________________________ From: Innovimax SARL [mailto:innovimax@gmail.com] Sent: Monday, April 28, 2008 1:05 PM To: Toman, Vojtech Cc: public-xml-processing-model-wg@w3.org Subject: Re: unescape-markup - support for text/xml 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> <div xmlns="http://www.w3.org/1999/xhtml"> <p>This is a chunk of XHTML.</p> </div> </description> but I think it should look like this: <description> <?xml version="1.0" encoding="UTF-8"?> <div xmlns="http://www.w3.org/1999/xhtml"> <p>This is a chunk of XHTML.</p> </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:27:41 UTC