W3C home > Mailing lists > Public > www-forms-editor@w3.org > April 2008

Error use of origin attribute in Appendix B.4

From: John Boyer <boyerj@ca.ibm.com>
Date: Tue, 29 Apr 2008 21:58:38 -0700
To: Forms WG (new) <public-forms@w3.org>
Cc: www-forms-editor@w3.org
Message-ID: <OF4AE63161.84D4242C-ON8825743B.001AE11E-8825743B.001B586F@ca.ibm.com>
In [1], it seems the origin attributes need to have a preceding ../ in the 
expressions because they are evaluated relative to the result of the 
context attribute.

origin="../item[1]/@rating"

[1] http://www.w3.org/TR/xforms11/#insert-delete-patterns-set-attribute

The other examples that use context and origin together look correct.

John M. Boyer, Ph.D.
Senior Technical Staff Member
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
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw
Received on Wednesday, 30 April 2008 04:59:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:16 GMT