W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

DOM Level 2 Core errata: core-24, core-25, and core-26

From: Philippe Le Hegaret <plh@w3.org>
Date: 09 May 2002 11:25:07 -1000
To: WWW DOM <www-dom@w3.org>
Message-Id: <1020979508.1011.21.camel@chacal>
3 errata for DOM Level 2 Core have been published.

[1] Node.nodeValue
    The sentence

    When it is defined to be null, setting it has no effect.

    should read:

    When it is defined to be null, setting it has no effect, including
if the node is read-only.

[2] DocumentType
    The following paragraph should be added in the description:

    DocumentType nodes are read-only.

[3]  XML Namespaces
    The description

    Note that because the DOM does no lexical checking, the empty string
will be treated as a real namespace URI in DOM Level 2 methods.
Applications must use the value null as the namespaceURI parameter for
methods if they wish to have no namespace.

    should read

    Note that because some progamming languages cannot differenciate
null from an empty string, and because an empty string is not a valid
namespace URI, even though the DOM does no lexical checking, the way an
empty string is treated, when given as a namespace URI to a DOM Level 2
method, is implementation dependent. Applications must use the value
null as the namespaceURI parameter for methods if they wish to have no
namespace.

Philippe,
for the DOM WG

[1] http://www.w3.org/2000/11/DOM-Level-2-errata#core-24
[2] http://www.w3.org/2000/11/DOM-Level-2-errata#core-25
[3] http://www.w3.org/2000/11/DOM-Level-2-errata#core-26
Received on Thursday, 9 May 2002 17:25:08 GMT

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