corrections in or related to XForms 1.1 submission module.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

corrections in or related to XForms 1.1 submission module.

Vlad Trakhtenberg

The XForms 1.1 spec says:

a).

6.1.4 The relevant Property

Description: indicates whether the model item is currently relevant. Instance data nodes with this property evaluating to false are not serialized for submission.

This seems to ignore the relevant="false" attribute of submission.

b)

 11.2 The xforms-submit Event

...
2. If the binding attributes of submission indicate an empty nodeset or a non-element node, then submission processing is stopped after dispatching event xforms-submit-error with context information containing an error-type of no-data. Otherwise, the binding attributes of submission indicate a node of instance data.

This seem to contradict the default value of the ref attribute of submission being "/".

Thanks,

Vlad Trakhtenberg,
IBM, Victoria Software Lab


Reply | Threaded
Open this post in threaded view
|

Re: corrections in or related to XForms 1.1 submission module.

John Boyer

Hi Vlad,

Thanks for sending these comments.  Both have been remedied in the 1.1 recommendation, which was published today.

Thank you,
John M. Boyer, Ph.D.
STSM, Interactive Documents and Web 2.0 Applications
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: [hidden email]  

Blog:
http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed:
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw




From: Vlad Trakhtenberg/CanWest/IBM@IBMCA
To: [hidden email]
Cc: [hidden email], [hidden email]
Date: 10/12/2009 05:18 PM
Subject: corrections in or related to XForms 1.1 submission module.






The XForms 1.1 spec says:


a).


6.1.4 The relevant Property

Description: indicates whether the model item is currently relevant. Instance data nodes with this property evaluating to false are not serialized for submission.

This seems to ignore the relevant="false" attribute of submission.

b)

 11.2 The xforms-submit Event

...
2. If the binding attributes of
submission indicate an empty nodeset or a non-element node, then submission processing is stopped after dispatching event xforms-submit-error with context information containing an error-type of no-data. Otherwise, the binding attributes of submission indicate a node of instance data.

This seem to contradict the default value of the ref attribute of submission being "/".


Thanks,


Vlad Trakhtenberg
,
IBM, Victoria Software Lab