Small contraditction in readonly update spec?

John,


Maybe I'm reading it wrong but if I read [1] ("This operation may fail if 
processing of the target attribute (including its default) yields a 
readonly node or a non-element node.") I come to the conclusion that:

1) when replace is 'text' submission fails if the node of which the 
content is going to be replaced is readonly
-> This is simular as doing a setvalue action on a node, so I think this 
is correct

2) when replace is 'instance' submission fails if the node that is going 
to be replaced is readonly
-> I think this is not desired. I think it should fail if the parent of 
the target node that is going to be replaced is readonly. Otherwise it is 
not similar to a delete followed by an insert action, what is similar to 
doing a replace of type 'instance'.

Regards, 

Nick Van den Bleeken  -  Research & Development
Inventive Designers
Phone: +32 - 3 - 8210170
Fax: +32 - 3 - 8210171
Email: Nick_Van_den_Bleeken@inventivegroup.com
[1] http://www.w3.org/MarkUp/Forms/specs/XForms1.1/index-diff.html#submit


--------------------------------------------------

Inventive Designers' Email Disclaimer:

http://www.inventivedesigners.com/email-disclaimer

Received on Thursday, 4 October 2007 12:59:08 UTC