Re: XML Core WG comments on XQuery/XPath data model

> | [3.6] The list defining the type of an element information item is not
> | complete.  What happens in the case where [member type definition]
> | or [type definition] is present but hase no name property (because
> | the type is anonymous)?  Presumably the generated anonymous type
> | name is used.

> My understanding is that if [member type definition] exists and has no
> {name} property then [member type definition anonymous] also exists.
> Is that not the case?

No.

Either:

you are a fully-featured schema validator, and you have the [type
definition] property and (if the type is a union) the [member type
definition property],

... or ...

you are a wimpy schema validator, and you have the [type definition
type], [type definition namespace], [type definition anonymous] and
[type definition name] properties, and (if the type is a union) the
[member type definition namespace], [member type definition anonymous]
and [member type definition name] properties.

-- Richard

Received on Friday, 14 November 2003 10:06:40 UTC