[XForms CR] 3.3.2 The instance Element

View: New views
2 Messages — Rating Filter:   Alert me  

[XForms CR] 3.3.2 The instance Element

by Steven Pemberton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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


Re: [XForms CR] 3.3.2 The instance Element

by John Boyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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




"Steven Pemberton" <steven.pemberton@...>
Sent by: www-forms-editor-request@...

04/29/2008 07:22 AM

To
"www-forms-editor@..." <www-forms-editor@...>
cc
Subject
[XForms CR]  3.3.2 The instance Element






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