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

Re: Fw: [XForms 1.1] Inserting into an empty element (section 9.3.5 processing (PR#172)

From: John Boyer <xforms-issues@mn.aptest.com>
Date: Tue, 31 Jul 2007 15:27:39 -0500
Message-Id: <200707312027.l6VKRd0W010324@htmlwg.mn.aptest.com>
To: CLARKJ2@ccf.org
CC: www-forms-editor@w3.org

Hi John,
Yes, it was an omission of the spec, and insertion into an empty node was
intended.

The latest editor's draft available from the Forms WG home page contains a
correction.  Please see the diff-marked version.  Also, please note that step 6
received other modifications due to addressing other last call comments, so the
fix needed to address your specific issue is at the end of step 6c.  Please let
us know if you have any further concerns about this issue.

Thanks,
John Boyer

> This is a multipart message in MIME format.
> --=_alternative 006C3F4E88257329_=
> Content-Type: text/plain; charset="US-ASCII"
> 
> ----- Forwarded by John Boyer/CanWest/IBM on 07/31/2007 12:42 PM -----
> 
> "Clark, John" <CLARKJ2@ccf.org> 
> Sent by: www-forms-editor-request@w3.org
> 07/20/2007 07:15 AM
> 
> To
> www-forms-editor@w3.org
> cc
> 
> Subject
> [XForms 1.1] Inserting into an empty element (section 9.3.5  processing 
> rule 6.a)
> 
> 
> 
> 
> 
> 
> 
> 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.
> 
> 
> 
> 
> 
> --=_alternative 006C3F4E88257329_=
> Content-Type: text/html; charset="US-ASCII"
> 
> 
> <br><font size=1 color=#800080 face="sans-serif">----- Forwarded by John
> Boyer/CanWest/IBM on 07/31/2007 12:42 PM -----</font>
> <br>
> <table width=100%>
> <tr valign=top>
> <td width=40%><font size=1 face="sans-serif"><b>"Clark, John"
> <CLARKJ2@ccf.org></b> </font>
> <br><font size=1 face="sans-serif">Sent by:
> www-forms-editor-request@w3.org</font>
> <p><font size=1 face="sans-serif">07/20/2007 07:15 AM</font>
> <td width=59%>
> <table width=100%>
> <tr valign=top>
> <td>
> <div align=right><font size=1 face="sans-serif">To</font></div>
> <td><font size=1 face="sans-serif">www-forms-editor@w3.org</font>
> <tr valign=top>
> <td>
> <div align=right><font size=1 face="sans-serif">cc</font></div>
> <td>
> <tr valign=top>
> <td>
> <div align=right><font size=1 face="sans-serif">Subject</font></div>
> <td><font size=1 face="sans-serif">[XForms 1.1] Inserting into an empty
> element (section 9.3.5  processing rule 6.a)</font></table>
> <br>
> <table>
> <tr valign=top>
> <td>
> <td></table>
> <br></table>
> <br>
> <br>
> <br><tt><font size=2><br>
> As I read the latest working draft of the XForms specification[0], I am<br>
> unsure what will happen at processing rule 6.a if the cloned node is not<br>
> an attribute and the `insert location node` does not have any children.<br>
> In this case, "the target location is before the first child of the<br>
> insert location node", but that is not well-defined if there is no
> such<br>
> first child.  I think it would be a significant gap in the
> specification<br>
> if the eventual language would not allow a node to be inserted into an<br>
> empty element.<br>
> <br>
> Is there any chance that this could be clarified (hopefully in favor of<br>
> being able to insert a node into an element with no children)?<br>
> <br>
> [0] </font></tt><a
href="http://www.w3.org/TR/2007/WD-xforms11-20070222/#action-insert"><tt><font
> size=2>http://www.w3.org/TR/2007/WD-xforms11-20070222/#action-insert</font></tt></a><tt><font
> size=2><br>
> <br>
> Take care,<br>
> <br>
>     John L. Clark  |  Systems Analyst<br>
>                    |
>  Cardio-Thoracic
> Surgery Research<br>
>  Cleveland Clinic  |  9500 Euclid Ave.   |  Cleveland,
> OH 44195<br>
>                    |  (216)
> 445-6011<br>
> <br>
> ===================================<br>
> <br>
> Cleveland Clinic is ranked one of the top hospitals<br>
> in America by U.S. News & World Report (2007).  <br>
> Visit us online at </font></tt><a
href=http://www.clevelandclinic.org/><tt><font
> size=2>http://www.clevelandclinic.org</font></tt></a><tt><font size=2>
> for<br>
> a complete listing of our services, staff and<br>
> locations.<br>
> <br>
> <br>
> Confidentiality Note:  This message is intended for use<br>
> only by the individual or entity to which it is addressed<br>
> and may contain information that is privileged,<br>
> confidential, and exempt from disclosure under applicable<br>
> law.  If the reader of this message is not the intended<br>
> recipient or the employee or agent responsible for<br>
> delivering the message to the intended recipient, you are<br>
> hereby notified that any dissemination, distribution or<br>
> copying of this communication is strictly prohibited.  If<br>
> you have received this communication in error,  please<br>
> contact the sender immediately and destroy the material in<br>
> its entirety, whether electronic or hard copy.  Thank you.<br>
> <br>
> <br>
> <br>
> <br>
> </font></tt>
> --=_alternative 006C3F4E88257329_=--
> 
> 
Received on Tuesday, 31 July 2007 20:32:47 GMT

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