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

readonly nodes

From: Amit Handa <Amit.Handa@Sun.COM>
Date: Fri, 12 Apr 2002 12:27:40 -0400 (EDT)
Message-Id: <200204121627.g3CGRNF26793@blr-root.India.Sun.COM>
To: www-dom@w3.org
Hi,

I have a doubt regarding readonly nodes. I believe Entity, EntityReference, 
Notation and DocumentType nodes are readonly. Why does the DOM L1 conformance 
tests then fail, when the setNodeValue() throws a exception for these nodes. The 
tests pass when setNodeValue() is modified not to throw exception!! Why is it 
so? 

Can somebody clarify on this?

Thanks,
Amit

Sun Microsystems, Inc.
Received on Tuesday, 16 April 2002 14:17:34 GMT

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