W3C home > Mailing lists > Public > www-forms-editor@w3.org > July 2007

[XForms 1.1] Inserting into an empty element (section 9.3.5 processing rule 6.a)

From: Clark, John <CLARKJ2@ccf.org>
Date: Fri, 20 Jul 2007 10:15:11 -0400
Message-ID: <F122C25B4CD6F34BB119A97593679601027CA8DB@CCHSCLEXMB59.cc.ad.cchs.net>
To: www-forms-editor@w3.org

As I read the latest working draft of the XForms specification[0], I am
unsure what will happen at processing rule 6.a if the cloned node is not
an attribute and the `insert location node` does not have any children.
In this case, "the target location is before the first child of the
insert location node", but that is not well-defined if there is no such
first child.  I think it would be a significant gap in the specification
if the eventual language would not allow a node to be inserted into an
empty element.

Is there any chance that this could be clarified (hopefully in favor of
being able to insert a node into an element with no children)?

[0] http://www.w3.org/TR/2007/WD-xforms11-20070222/#action-insert

Take care,

    John L. Clark  |  Systems Analyst
                   |  Cardio-Thoracic Surgery Research
 Cleveland Clinic  |  9500 Euclid Ave.   |  Cleveland, OH 44195
                   |  (216) 445-6011

===================================

Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2007).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.
Received on Friday, 20 July 2007 14:15:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:15 GMT