W3C home > Mailing lists > Public > public-forms@w3.org > April 2008

Re: Unfortunate choice of attribute name in XForms 1.1: xforms:submission/@target

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 8 Apr 2008 09:00:34 -0700
Message-Id: <5239A7CA-9E50-4B5C-AF8B-9460C696A5D5@orbeon.com>
To: "Forms WG (new)" <public-forms@w3.org>

Roger,

The issue to me is more a matter of familiarity with HTML 4 (and 5)  
attribute names than anything else.

So I don't think that it matters much what XHTML 1.0 strict supports.

-Erik

On Apr 8, 2008, at 2:41 AM, Rogelio Pérez Cano wrote:
>
> Hi Erik, all,
> please correct me if I´m wrong but at least in XHTML 1.0 Strict the
> "target" attribute doesn´t exist, so I´m not sure if it´s going to  
> be a
> problem, for sure xhtml/html experts in the group may have better  
> opinion on
> it.
>
> Regards.
>
> Roger.
>
> -----Mensaje original-----
> De: public-forms-request@w3.org [mailto:public-forms-request@w3.org]  
> En
> nombre de Erik Bruchez
> Enviado el: martes, 08 de abril de 2008 2:24
> Para: Forms WG (new)
> Asunto: Unfortunate choice of attribute name in XForms 1.1:
> xforms:submission/@target
>
>
> All,
>
> It just occurred to me that the XForms 1.1 xforms:submission/@target
> attribute [1] is badly chosen.
>
> The reason is that a "target", in HTML speak, specifies an optional  
> target
> window or frame. This, in particular, applies to <a> and <form> in  
> HTML. [2]
>
> In the future, we may want to officially support such a concept of  
> target
> window or frame in XForms. Purely out of familiarity with HTML, the  
> name
> "target" would be an obvious choice. But if we use "target"
> now to specify the destination for data replacement, we won't be  
> able to use
> that name.
>
> (Note that in our implementation, we already support an extension  
> attribute
> called xxforms:target on xforms:submission and xforms:load, which  
> behaves
> like its HTML counterpart.)
>
> For this reason I suggest that we change the name of this attribute in
> XForms 1.1. Suggestions are welcome, but "destination" could work.
>
> -Erik
>
> [1] http://www.w3.org/TR/xforms11/#submit
> [2] http://www.w3.org/TR/html401/present/frames.html#adef-target
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/
Received on Tuesday, 8 April 2008 16:01:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:47 UTC