Re: invalid binding expression error

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
all.

> 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".
>
Understood

> 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