W3C home > Mailing lists > Public > public-forms@w3.org > October 2007

RE: Quick proposal: method="get" be default on submission element

From: Klotz, Leigh <Leigh.Klotz@XEROX.COM>
Date: Tue, 9 Oct 2007 09:09:23 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF40391C89B@USA7061MS01.na.xerox.net>
To: "Mark Birbeck" <mark.birbeck@formsPlayer.com>, "Erik Bruchez" <erik@bruchez.org>
Cc: "John Boyer" <boyerj@ca.ibm.com>, "Steven Pemberton" <steven.pemberton@cwi.nl>, "Forms WG" <public-forms@w3.org>, <public-forms-request@w3.org>

That's a noble goal, but do we want to do it piecemeal or do we want to
look at this in the context of the task force?
(Or am I off base and this is already a task force request?)

One thing I started was an XSLT to for a PI in XHTML files that would
eliminate namespaces.
I found it didn't work in Mozilla though, because they run their
processors before XSLT, not after (for some reason), and it didn't look
likt it would be quickly fixed.  But if XSL Pis do start working in
general, it could be a quick route to defining a syntax transformation,
and then we could look at what feature are necessary to make the
semantic equivalence.   Just an idea...

-----Original Message-----
From: mark.birbeck@x-port.net [mailto:mark.birbeck@x-port.net] On Behalf
Of Mark Birbeck
Sent: Tuesday, October 09, 2007 12:05 AM
To: Erik Bruchez
Cc: Klotz, Leigh; John Boyer; Steven Pemberton; Forms WG;
public-forms-request@w3.org
Subject: Re: Quick proposal: method="get" be default on submission
element

Hi Erik,

"get" is the default in HTML:

  <http://www.w3.org/TR/html401/interact/forms.html#adef-method>

Combined with a default of @replace="all" it means that, with Steven's
suggestion, we would have almost completely replicated the behaviour
of HTML forms . (We'd also need to add that @action defaults to "" to
really finish it.)

Regards,

Mark

On 08/10/2007, Erik Bruchez <erik@bruchez.org> wrote:
>
> It's a tough call.
>
> Most of our use cases at Orbeon involve "post" (more rarely "put")
> because that's how you can send out XML to services out there, and as
> pointed out "get" handles name/value pairs only. Finally, for
> compatibility with HTML forms' common use cases, another reasonable
> default would be "form-data-post".
>
> It doesn't seem that HTML forms have an actual default here, if I read
> correctly:
>
>    http://www.w3.org/TR/html401/interact/forms.html#submit-format
>
> So rather than having a non-obvious default, I am leaning towards
> thinking that maybe we should simply not have a default and make/keep
> the method attribute required.
>
> -Erik
>
> Klotz, Leigh wrote:
> > Originally [1] post was the default but it was removed [2] when we
> > changed from submitInfo to submission.
> >
> > [1]
> >
http://www.w3.org/TR/2002/WD-xforms-20020118/slice3.html#structure-model
-submitInfo
> > [2]
> >
http://www.w3.org/TR/2002/WD-xforms-20020821/slice3.html#structure-model
-submission
> >
> >
------------------------------------------------------------------------
> > *From:* public-forms-request@w3.org
[mailto:public-forms-request@w3.org]
> > *On Behalf Of *John Boyer
> > *Sent:* Monday, October 08, 2007 7:32 AM
> > *To:* Steven Pemberton
> > *Cc:* Forms WG; public-forms-request@w3.org
> > *Subject:* Re: Quick proposal: method="get" be default on submission
element
> >
> >
> > Hi Steven,
> >
> > Having a default seems like a great idea.
> > At first, "get" seemed like a good choice, but then I realized that
we
> > are setting the default in such a way that transmission of tag value
> > pairs, not XML, is the default.  From that point of view, wouldn't
> > "post" be the better default?
> >
> > Cheers,
> > John M. Boyer, Ph.D.
> > STSM: Lotus Forms Architect and Researcher
> > 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
> >
> >
> >
> >
> > *"Steven Pemberton" <steven.pemberton@cwi.nl>*
> > Sent by: public-forms-request@w3.org
> >
> > 10/05/2007 07:31 AM
> >
> >
> > To
> >       "Forms WG" <public-forms@w3.org>
> > cc
> >
> > Subject
> >       Quick proposal: method="get" be default on submission element
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > While writing examples for the submission section, it struck me that
we
> > may as well have *some* default for submission@method, and since it
> > usually seems to be get, I would like to propose that. Then the
simplest
> > submission would be something like:
> >
> >                 <submission action="http://www.example.com/search"
/>
> >
> > Steven
> >
> >
>
>
> --
> Erik Bruchez's Ponderings
> http://erik.bruchez.name/
>
>


-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@formsPlayer.com | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Tuesday, 9 October 2007 16:12:53 UTC

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