W3C home > Mailing lists > Public > public-xformsusers@w3.org > July 2019

DOM interface to readonly nodes

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 23 Jul 2019 17:44:16 +0200
To: " XForms" <public-xformsusers@w3.org>
Message-ID: <op.z5d0n2yesmjzpq@steven-xps>
"The implementation of the DOM interface for the instance document must  
not permit direct mutations of readonly instance nodes. Specifically, the  
implementation must not allow insertion of a node whose parent is  
readonly, direct deletion of a readonly node, nor setting the content of a  
readonly node. A node that is not readonly can be deleted, including all  
descendants, even if it has readonly descendants."
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_getInstanceDocument.28.29_Method

I believe the middle part of this should say:

Specifically, the implementation must not allow insertion into a readonly  
node, direct deletion of a child of a readonly node, nor setting the  
content of a readonly node.

Steven
Received on Tuesday, 23 July 2019 15:44:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 23 July 2019 15:44:42 UTC