W3C home > Mailing lists > Public > www-forms@w3.org > September 2010

Re: invalid binding expression error

From: e-letter <inpost@gmail.com>
Date: Wed, 15 Sep 2010 10:00:38 +0100
Message-ID: <AANLkTimMZqgBLAcG3XJFcHLxuO=qm9aCxuH9KmJW2oGF@mail.gmail.com>
To: John Boyer <boyerj@ca.ibm.com>
Cc: Swithun Crowe <swithun@swithun.servebeer.com>, www-forms@w3.org
On 14/09/2010, John Boyer <boyerj@ca.ibm.com> wrote:
> Dear e-letter,
> This is not really a forum for debugging your XForms forms, or the XPaths
> they contain.
May I suggest better explanation of the purpose of the mailing list is
published. I will continue in another resource elsewhere; thanks to

> It is not clear why your xforms:submission should work without adding
> replace="none" to it because it is a method="put" submission. Particularly
> with a file scheme, I wouldn't expect anything to come back.
According to the specification, if the replace attribute is absent,
all data is submitted (my interpretation of xforms1 section3.3.3;
cited because writer complies with version1).

> However, the reason you're getting nothing is that you seem to be using an
> element reference "type" that does not exist as a child element of
> "analysis".

> It seems you are trying to ref the *attribute* called type, so you would
> have to use analysis/@type to reference that node.
Tried that causing crash, will try to repeat to see if bug with writer
or my user error.

> That being said, XForms submissions write an XML document.  If you were to
> ref to analysis/@type, the result is not serializable as XML because it is
> only a (textual) attribute value.  So, this leaves the question of what
> you are trying to write.
In summary, to select an option from a list menu and the save the data
value associated with that option as an xml file.
Received on Wednesday, 15 September 2010 09:01:06 UTC

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