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.4.0 : Friday, 17 January 2020 23:14:48 UTC