Re: Because type is for datatype, there should not be a problem for XForms Basic

Hi

For clarity could you please write if this is the official WG answer or 
your own opinion (when I read this aloud it sounds like the WG answer)?

>
> When an unrecognized type is referenced, it defaults down to 
> xsd:string, which matches pretty much everything.
But then mixed content will always be invalid, correct?
E.g.
<data>
  <value>v</value>
</data>

and <xforms:input ref="/data">... if no datatypes is assigned to <data> 
and it defaults to xsd:string, then it will be invalid because of the 
<value/>. Is that really what the working group intent? The very funny 
implication of this is that a form with an instance that has no types 
assigned and has more than a document element will always be invalid and 
will never submit (unless you go to corner examples as having a ref to a 
node with hasn't got element in its content).

IMO the validation scheme used in XForms is totally broke and under 
specified and should be fixed from scratched.

Best regards,
David

Received on Wednesday, 3 May 2006 18:33:16 UTC