W3C home > Mailing lists > Public > www-forms@w3.org > January 2003

Re: Specifying the <submission> element

From: Rob Bull <rob.bull@blackdog.co.uk>
Date: Thu, 9 Jan 2003 15:26:40 +0100
Message-ID: <002301c2b7eb$70b36dc0$514d08c3@esrc.ac.uk>
To: "Roman Huditsch" <roman.huditsch@hico.com>, "Bob Smith" <gordongano99@yahoo.com>, <www-forms@w3.org>, <Mikko.Honkala@hut.fi>

Doh! you're right, I was thinking of the "ref" attribute in a form control
(which can be used instead of a "bind" in the model? as in :

"3.2.3 Single-Node Binding Attributes
The following attributes define a binding between a form control or an
action and an instance data node defined by an XPath expression.

Binding expression interpreted as XPath. This attribute has no meaning when
a bind attribute is present."


----- Original Message -----
From: "Roman Huditsch" <roman.huditsch@hico.com>
To: "Rob Bull" <rob.bull@blackdog.co.uk>; "Bob Smith"
<gordongano99@yahoo.com>; <www-forms@w3.org>
Sent: Thursday, January 09, 2003 12:48 PM
Subject: AW: Specifying the <submission> element

As I've understood the spec that the "ref" attribute selects a subtree of a
specified instance for submission as Bob mentioned. Otherwise I could not
figure out any situation where it would make sense to use the "ref"
attribute to update the instance on submit. How would you be able to provide
a value for this update when the submission takes part?


-----Ursprüngliche Nachricht-----
Von: Rob Bull [mailto:rob.bull@blackdog.co.uk]
Gesendet: Donnerstag, 9. Januar 2003 10:31
An: Bob Smith; www-forms@w3.org
Betreff: Re: Specifying the <submission> element

I gather that the (verified) model is what is submitted, the ref merely uses
the xPath syntax to update/verify the instance data, ie the node values of
the model.

ie if you set your referenced node a/b/c to "widget", a is the top level
node and the xml that the processor would want to verify and submit would be

If this is not the case, I have seriously missed the point and would like to


----- Original Message -----
From: "Bob Smith" <gordongano99@yahoo.com>
To: <www-forms@w3.org>
Sent: Wednesday, January 08, 2003 7:42 PM
Subject: Specifying the <submission> element

| (1) The "ref" attribute lets you specify a subtree of
| the instance data, but it doesn't say exactly how it's
| submitted. E.g. if my ref value is "/a/b/c", then will
| "c" be the top level node or will "a"?
| (2) Maybe I've missed it, but how do you specify which
| instance data to submit? Do you have to put an
| instance() function call in the ref attribute? It
| would be nice if this were clearer in the spec.
| __________________________________________________
| Do you Yahoo!?
| Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
| http://mailplus.yahoo.com
Received on Thursday, 9 January 2003 10:26:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC