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

Inheritance of readonly

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 23 Jul 2019 17:37:03 +0200
To: public-xformsusers@w3.org
Message-ID: <op.z5d0b1xysmjzpq@steven-xps>
"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

This archive was generated by hypermail 2.3.1 : Tuesday, 23 July 2019 15:37:29 UTC