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

Re: Two tiny questions

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 19 Mar 2004 11:17:26 -0500
To: Kasimier Buchcik <kbuchcik@4commerce.de>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1079713046.15528.26.camel@chacal>

On Fri, 2004-03-19 at 10:08, Kasimier Buchcik wrote:
> Hi,
> there are two tiny questions burning under my fingernails:
> 1. Does anyone has a definition at hand about what to return if
>    DOMImplementationSource.getDOMImplementation was called with an empty
>    (or just whitespaces containing) "features" argument?

I would propose null as a return value.

> 2. It is still unclear to me if an error (and which) should be raised if
>    parsing a DOMString with the LSParser, and the encoding declaration
>    states something different than "UTF-16", or not. If not: should
>    xmlEncoding be set to this declared encoding?

I don't think it should be an error, at most a warning. HTTP is allowed
to overwrite the encoding of the XML declaration already. I would treat
it the same for this case: the information in the XML declaration is
overwritten by the encoding of DOMString, and is therefore simply

Received on Friday, 19 March 2004 11:17:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC