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

Anonymous group?

From: Jasmin Wason <jlw98r@ecs.soton.ac.uk>
Date: Wed, 06 Dec 2000 19:59:14 +0000
Message-ID: <3A2E9A92.EE67E6AC@ecs.soton.ac.uk>
To: xmlschema-dev@w3.org
Is it alright to have a group element with no name in a Schema? 


<complexType name="data">
  <element name="number" type="integer"/>
   <group minOccurs="0">
      <element name="anotherNumber" type="integer"/>

The name and ref attributes look optional in [1] but XSV gives 2
errors,  Invalid: group with no name or ref and Invalid: internal group
must have ref.


Jasmin Wason

Received on Wednesday, 6 December 2000 15:00:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC