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

Re: [XForms CR] 3.3.2 The instance Element

From: John Boyer <boyerj@ca.ibm.com>
Date: Tue, 29 Apr 2008 08:56:27 -0700
To: "Steven Pemberton" <steven.pemberton@cwi.nl>
Cc: "www-forms-editor@w3.org" <www-forms-editor@w3.org>
Message-ID: <OF175D87ED.25A029F5-ON8825743A.00571117-8825743A.00579212@ca.ibm.com>
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@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





"Steven Pemberton" <steven.pemberton@cwi.nl> 
Sent by: www-forms-editor-request@w3.org
04/29/2008 07:22 AM

To
"www-forms-editor@w3.org" <www-forms-editor@w3.org>
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).
Received on Tuesday, 29 April 2008 15:57:06 GMT

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