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

RE: unescape-markup - support for text/xml

From: <Toman_Vojtech@emc.com>
Date: Mon, 28 Apr 2008 07:26:12 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870AD52153@CORPUSMX10A.corp.emc.com>
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...


	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:
		&lt;div xmlns="http://www.w3.org/1999/xhtml">
		&lt;p>This is a chunk of XHTML.&lt;/p>
		but I think it should look like this:
		&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>
		unless we state that 'omit-xml-declaration' is set to false in the

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

	Innovimax SARL
	Consulting, Training & XML Development
	9, impasse des Orteaux
	75020 Paris
	Tel : +33 9 52 475787
	Fax : +33 1 4356 1746

	RCS Paris 488.018.631
	SARL au capital de 10.000 € 

Received on Monday, 28 April 2008 11:27:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:45 UTC