W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

createTextNode vs INVALID_CHARACTER_ERR

From: Julian F. Reschke <julian.reschke@greenbytes.de>
Date: Fri, 27 Jul 2001 14:27:28 +0200
To: <www-dom@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCAEABCMAA.julian.reschke@greenbytes.de>
Hi.

I just discovered that DOM L2's createTextNode doesn't declare a
DOMException. However I would have assumed that trying to create a text node
using a character which is not allowed in XML (such as Control-E, U+5) would
throw an exception.

Am I missing something, or is this a bug in the specification?

Julian
Received on Friday, 27 July 2001 08:27:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT