Re: xsi:type (PR#85)

Hi Erik,

Yes, it is true that xsi:type attributes are supported even when there are no
form-declared schema in the form.  This is because the validation test in
Section 4.3.4 states that validity is based on *all applicable schema
definitions* including those coming from xsi:type. Due to the XML Schema
recommendation, an existing xsi:type declaration is, by default, applicable to
element validity.  In general, we follow all rules of XML schema except those
that are explicitly mentioned as not being supported.  Section 6.2 provides the
only mention of schema rules we do not follow (and are allowed not to follow). 
In that section, we say that schema rules are not applicable if they come from a
schema indicated by xsi:schemaLocation or xsi:noNamespaceSchemaLocation.

In today's WG telecon, you indicated it would be satisfactory to have a note in
the spec to clarify that xsi:type is applicable even if there are no declared
schemas, and that note appears in Section 4.3.4 of the editor's draft of the
spec available from the WG home page. 

Thank you,
John Boyer

> 
> All,
> 
> XForms mentions in a few places support for xsi:type, in "4.3.5 The
> xforms-revalidate Event", "6.2.1 Atomic Datatype", and "7.11.4 The id()
> Function".
> 
> It is not clear to me if an implementation must support xsi:type
> attributes on elements when there is no xforms:model/@schema defined, or
> no inline schema.
> 
> It is my understanding that the "type" model item property does support
> XML Schema and XForms built-in data types even in the absence of a
> schema. But is this true as well of xsi:type attributes?
> 
> -Erik
> 
> -- 
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
> 
> 

Received on Thursday, 18 October 2007 00:43:51 UTC