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...


 From: Innovimax SARL [] 
 Sent: Monday, April 28, 2008 1:05 PM
 To: Toman, Vojtech
 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="">
  &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="">
  &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