W3C home > Mailing lists > Public > public-forms@w3.org > January 2010

XForms 1.1 RNC Schema xf:instance

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Mon, 11 Jan 2010 10:03:31 -0800
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF40998230D@USA7061MS01.na.xerox.net>
To: "Forms WG" <public-forms@w3.org>
We should change
xforms.instance.content = xforms.anyElement*
xforms.instance.content = xforms.anyElement?
There may lexical co-occurrence constraints with @src but there are none with @resource so I believe this change is sufficient.



From: Owen Newnan [mailto:onewnan@gmail.com] 
Sent: Saturday, January 09, 2010 5:56 PM
To: Klotz, Leigh
Subject: invalid instance data?


I get the message

Chapt03/3.3/3.3.2/3.3.2.g.xhtml:11:20: cvc-complex-type.2.4.d: Invalid content was found starting with element 'numberB'. No child element is expected at this point.

I think this message is right, the spec says

If the initial instance data is given by inline content, then instance data is obtained by first creating a detached copy of the inline content (including namespaces inherited from the enveloping ancestors), then creating an XPath data model over the detached copy. The detached copy must consist of content that would be well-formed XML if it existed in a separate document. Note that this restricts the element content of instance to a single child element.

However, I get no err on the RNC side.  Same thing with 3.3.2.h.xhtml.


Owen Newnan

cell 720 260-5753
home 303 697 1925
Received on Monday, 11 January 2010 18:04:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:48:39 UTC