W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

SVGT 1.2: uDOM appendChild and insertChild conflict with DOM, Implementation Requirements

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 26 Dec 2005 22:25:07 -0700
Message-Id: <41D344E5-5937-457F-BC94-7F0429840B92@apple.com>
To: www-svg@w3c.org

SVG Tiny 1.2 specifies the following exception for appendChild and  

DOMException INVALID_STATE_ERR: Raised if the newChild node would  
cause the
document to go into error.

This conflicts with DOM Level 3 Core, which does not allow this  

Furthermore, Section C.3 in Implementation Requirements says:

"A document can go in and out of error over time. For example,  
document changes from the SVG DOM or from
animation can cause a document to become in error and a further  
change can cause the document to become correct again."

It seems pointless to preclude this one particular way of  
programmatically putting a document into error, since the spec  
already says a document can go into error.

I recommend removing this exception.

I also recommend replacing the appendChild and insertChild  
definitions with verbatim quotations from or better yet a normative  
reference to DOM Level 3 Core.

Received on Tuesday, 27 December 2005 05:26:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:05 UTC