W3C home > Mailing lists > Public > www-forms@w3.org > January 2009

Re: Clarification needed for insert that replaces instance document element

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 27 Jan 2009 19:41:45 -0800
Cc: xforms <www-forms@w3.org>
Message-Id: <100A3753-88DD-4987-B4E5-595153EB4AA1@orbeon.com>
To: Forms WG <public-forms@w3.org>


That sounds reasonable to me.


On Jan 26, 2009, at 5:17 PM, John Boyer wrote:

> In the insert action [1], the wording of point 8 does not clearly  
> enough support the example of Appendix B.12 [2]
> [1] http://www.w3.org/MarkUp/Forms/specs/XForms1.1/index-diff.html#action-insert
> [2] http://www.w3.org/MarkUp/Forms/specs/XForms1.1/index-diff.html#insert-delete-patterns-replace-instance
> In bullet 8, it says "If the target location was the root element of  
> an instance, then the cloned node replaces the instance root element."
> This wording handles what happens when the context attribute is used  
> to indicate the root node of the instance, which is the parent of  
> the root element of the instance.
> However, when the nodeset binding is used to indicate the root  
> element of the instance, as is done in appendix B.12, the target  
> location actually resolves to a point before or after the root  
> element in the child list of the root node.
> To accommodate both cases, the sentence in bullet 8 should say: "If  
> the parent node of the target location is the root node of the  
> instance, and the cloned node is an element, then the instance root  
> element is deleted before the cloned node is inserted."
> John M. Boyer, Ph.D.
> STSM, Interactive Documents and Web 2.0 Applications
> Chair, W3C Forms Working Group
> Workplace, Portal and Collaboration Software
> IBM Victoria Software Lab
> E-Mail: boyerj@ca.ibm.com
> Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
> Blog RSS feed: http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw

Orbeon Forms - Web Forms for the Enterprise Done the Right Way
Received on Wednesday, 28 January 2009 03:42:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:22 UTC