DOM interface to readonly nodes

"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