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

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 UTC