RE: unescape-markup - support for text/xml

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>
  &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:27:41 UTC