W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2004

LSParser.parse - stringData - encoding declaration

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Wed, 25 Feb 2004 17:53:46 +0100
To: <www-dom@w3.org>
Message-ID: <403CD31A.1070009@4commerce.de>


I learned that the LSSerializer should generate an encoding declaration 
of "UTF-16" if serializing a whole DOM document to a DOMString via 

So just to have it black on white: does this imply the encoding 
declaration *has to* be existent and *has to* state "UTF-16", if parsing 
with LSParser.parse with an input.stringData holding a XML document - 
otherwise an error would be reported?


Received on Wednesday, 25 February 2004 11:49:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:52 UTC