W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2008

Purpose of <xs:sequence/>

From: Adam Retter <Adam.Retter@landmarkinfo.co.uk>
Date: Thu, 19 Jun 2008 11:40:19 +0100
Message-ID: <E5AF08CA89940F45AE064CAFF25C8A9005581760@EXMXCLUSTER.corp.edrlandmark.net>
To: <xmlschema-dev@w3.org>

Hi Chaps,

I am having trouble understanding what the purpose of an empty sequence
declaration is?

e.g. - <xs:sequence/> or <xsd:sequence/>

Certainly it seems to have no relevance in a document instance of that

For example in one of the Schemas here we have global declarations like
this -

<xs:element name="Classifier" type="Classifier"/>
<xs:complexType name="Classifier">
	<xs:attribute name="pid" type="xs:string" use="required"/>

<xs:element name="Reference" type="Reference"/>
<xs:complexType name="Reference">

There is probably some design subtlety that I am missing, can someone
explain it?


Adam Retter

Landmark Information Group Ltd
5-7 Abbey Court
Eagle Way
Sowton Industrial Estate

t: +44(0)1392 685403
w: http://www.landmarkinfo.co.uk

Registered Office: 7 Abbey Court, Eagle Way, Sowton, Exeter, Devon, EX2 7HY
Registered Number 2892803 Registered in England and Wales 

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

The information contained in this e-mail is confidential and may be subject to 
legal privilege. If you are not the intended recipient, you must not use, copy, 
distribute or disclose the e-mail or any part of its contents or take any 
action in reliance on it. If you have received this e-mail in error, please 
e-mail the sender by replying to this message. All reasonable precautions have 
been taken to ensure no viruses are present in this e-mail. Landmark Information
Group Limited cannot accept responsibility for loss or damage arising from the 
use of this e-mail or attachments and recommend that you subject these to 
your virus checking procedures prior to use.
Received on Thursday, 19 June 2008 12:27:54 UTC

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