XForms 1.1 RNC Schema xf:instance

We should change
xforms.instance.content = xforms.anyElement*
to
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.


Leigh.

 
________________________________

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


Leigh,


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.

-- 
Best,

Owen Newnan

cell 720 260-5753
home 303 697 1925
http://www.linkedin.com/in/OwenNewnan

Received on Monday, 11 January 2010 18:04:08 UTC