W3C home > Mailing lists > Public > public-xformsusers@w3.org > December 2016

insert and delete contexts

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Thu, 08 Dec 2016 12:20:27 +0100
To: XForms <public-xformsusers@w3.org>
Message-ID: <op.yr5ggds7smjzpq@steven-aspire-s7>
The insert context for aan <insert/> is described so:
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_insert_Element

"The insert context is determined:
* if the context attribute is given, it is evaluated using the in-scope  
evaluation context, and the first-item rule is applied;
* otherwise the in-scope evaluation context is used.

If the result is the empty sequence, the insert action has no effect."

<delete/> on the other hand says:
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_delete_Element

"The delete context is determined: it is set to the in-scope evaluation  
context, possibly overridden by the context attribute if that attribute is  
present. If the result is the empty sequence, the delete action has no  
effect."

It sounds like they intend to describe the same thing, but lack of the  
first item rule in the second makes me wonder.

Any advice?

Steven
Received on Thursday, 8 December 2016 11:21:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:47 UTC