W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2004

Re: WD-xslt-xquery-serialization-20030502 omit-xml-declaration

From: Andrew Welch <AWelch@piper-group.com>
Date: Wed, 7 Jan 2004 17:24:14 -0000
Message-ID: <3BAAB77DB787FC4C961601D815DAF1E50E313D@piper7.Piper.Internal>
To: <public-qt-comments@w3.org>


I agree - It seems unecessary to force the processor to ignore the
omit-meta-declaration attribute when the output encoding is ascii.  Any
future processing of the xml produced will have no problem reading the
ascii using the default utf-8 encoding.

I generate XHTML that forms part of a web page put together using JSP.
I use the ascii output method to ensure any character references are
carried through to the output unchanged, which ensures that throughout
the process I only deal with single byte characters (limiting encoding
issues).  

This leaves the xml declaration somewhere in the generated (x)html page,
which requires text processing out.

cheers
andrew

 
Received on Wednesday, 7 January 2004 12:32:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:04 GMT