
|
Re: [XForms CR] 3.3.2 The instance Element
Hi Steven,
There is a difference in how they are
processed, and that wording difference is reflective of the processing
difference.
If the src attribute appears, then it
*will* be traversed, so if the link traversal fails, then xforms-link-exception.
The resource attribute can be provided,
but if the instance element contains inline content (or a src attribute),
then the resource uri will not be traversed. Therefore, if it *is*
traversed and the traversal fails, then xforms-link-exception.
Cheers,
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@...
Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw
The descriptions of @src and @resource differ, leading one to think that
there is a difference in how they are processed. I believe that that is
not the case, and therefore suggest making them identical.
Steven
Current text:
This optional element contains or references initial instance data.
Common Attributes: Common
Special Attributes:
src
Optional link to externally defined initial instance data. If the link
traversal fails, it is treated as an exception (4.5.4 The
xforms-link-exception Event).
resource
Optional link to externally defined initial instance data. If the link
is
traversed and the traversal fails, it is treated as an exception (4.5.4
The xforms-link-exception Event).
|