W3C home > Mailing lists > Public > www-forms@w3.org > November 2002

The child of <instance>

From: Alex Rosen <arosen@novell.com>
Date: Fri, 22 Nov 2002 09:21:22 -0700
Message-Id: <sdddf747.047@prv-mail20.provo.novell.com>
To: <www-forms@w3.org>

Section 3.3.2 says "The content of the instance element is arbitrary XML in any namespace." This is not quite true, since it can have at most one child element (tree). (In general, this single-child requirement is somewhat burried in the spec - it would be nice to make it explicit in this section.)

Only form controls, the <model>, and the <submission> can contain action elements, which make it easier to define event handlers for them. That means that to create handlers for <item>, <case>, and <instance>, you have to put the handler somewhere else, right? (Other than directly underneath the target element.)

Actually, since <instance> can contain any XML element, it could contain an action element too. I can imagine someone using an src link to external instance data, and adding an action element as an event handler for the instance node. The spec should probably say whether this is allowed or disallowed.

Alex
Received on Friday, 22 November 2002 11:22:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT