W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2000

Nested type definitions.

From: Jason Diamond <jason@injektilo.org>
Date: Sun, 29 Oct 2000 11:46:37 -0800
To: <xmlschema-dev@w3.org>
Message-ID: <LAEMKGDBDFAKFNKPFEKLKEEBCLAA.jason@injektilo.org>

Do nested type definitions such as

<xs:element name="foo">
  <xs:attribute ...>...</xs:attribute>

get added to the schema's {type definitions} property? Obviously, the lack
of a name makes it a bit difficult to resolve but what if it did have a

<xs:element name="foo">
 <xs:complexType name="bar">
  <xs:attribute ...>...</xs:attribute>

Is that legal or are nested type definitions required to be anonymous and
thus unsuitable for inclusion in {type definitions}?

Jason Diamond.
Received on Sunday, 29 October 2000 14:49:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:47 UTC