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

Re: [LC] 11.7 Submission verb Attribute and Element (PR#78)

From: John Boyer <xforms-issues@mn.aptest.com>
Date: Thu, 26 Jul 2007 12:51:45 -0500
Message-Id: <200707261751.l6QHpjnc020171@htmlwg.mn.aptest.com>
To: Steven.Pemberton@cwi.nl
CC: www-forms-editor@w3.org

Hi Steven,

We agree that there are more possibilities than there should be.

However, the verb elem/attr pair were eliminated.  Instead, we now have he
method element to provide an XPath expr in lieu of the literal value in the
method attr, which is a pre-existing literal-valued method attribute.

The method element also allows literal expression, which may still be seen as
'overkill' but it was done for consistency, i.e. in other places in XForms
literal content can be provided in places where the value attr can also appear.

Please see the editor's draft of XForms 1.1 available from the Forms WG home
page and let us know if you have any further concerns about this issue.

Thank you,
John Boyer

> 
> http://www.w3.org/TR/xforms11/#submit-verb
> 
> "The submission element must allow a new optional attribute named verb of  
> type string."
> 
> Must allow?
> 
> Anyway, we now have the following possibilities:
> 
>       <submit verb="PUT"/>
>       <submit><verb value="'PUT'"/></submit>
>       <submit><verb>PUT</verb></submit>
> 
> Isn't this overkill?
> 
> Proposal:
> 	  Since it is entirely new, use @verb as a value attribute
> 	      <submit verb="../method/verb"/>
> 	  Drop the verb child element.
> 
> 
> 
Received on Thursday, 26 July 2007 17:56:36 GMT

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