Inheritance of readonly

"Inheritance Rules: If any ancestor node of the bound node is readonly,  
this value is also readonly. Otherwise, the local value is used."
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_readonly_Property

Which means with this:

<instance>
    <data xmlns="">
       <a>
          <b/>
       </a>
    </data>
</instance>

<bind ref="a" readonly="true()"/>
<bind ref="b" readonly="false()"/>

that <b/> is still readonly.

Agreed?


Steven

Received on Tuesday, 23 July 2019 15:37:28 UTC