Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Purpose of

From: "Adam Retter" <Adam.Retter@------------.--.-->
To: <xmlschema-dev@--.--->
Date: 6/19/2008 12:40:00 PM
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
Schema.

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:sequence/>
	<xs:attribute name="pid" type="xs:string" use="required"/>
</xs:complexType>

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


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

Thanks

Adam Retter

Landmark Information Group Ltd
5-7 Abbey Court
Eagle Way
Sowton Industrial Estate
Exeter
Devon
EX2 7HY

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, c=
opy, 
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 h=
ave 
been taken to ensure no viruses are present in this e-mail. Landmark Inform=
ation
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.



From Adam.Retter@l... Thu Jun 19 13:04:48 2008
Received: from [128.30.52.63] (helo=bart.w3.org)
	by frink.w3.org with es


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent