W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

Re: Question about generation of the XML declaration

From: James Clark <jjc@jclark.com>
Date: Fri, 26 Jan 2001 00:35:31 -0500 (EST)
Message-ID: <3A710B76.F33F3A60@jclark.com>
To: Daniel.Veillard@imag.fr
CC: xsl-editors@w3.org
Daniel Veillard wrote:

> Question: when outputting as XML, should the XSLT processor
>           generate an XML declaration when for example no
>           xsl:output is defined ?

Yes.

>  The spec says
> 
>  "The xml output method should output an XML declaration unless
>   the omit-xml-declaration attribute has the value yes."

Seems clear to me.
 
> Or should D.2. example show an XML declaration ?

Yes. That's a bug.

James
Received on Friday, 26 January 2001 04:55:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT