W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2003

RE: allowing zero to unbounded elements in any order?

From: Dare Obasanjo <dareo@microsoft.com>
Date: Tue, 16 Sep 2003 17:56:11 -0700
Message-ID: <830178CE7378FC40BC6F1DDADCFDD1D1AFD3CC@RED-MSG-31.redmond.corp.microsoft.com>
To: <mecase@ucdavis.edu>, "XSD" <xmlschema-dev@w3.org>


> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Michael Case
> Sent: Tuesday, September 16, 2003 5:43 PM
> To: XSD
> Subject: RE: allowing zero to unbounded elements in any order?
> 
> 
> Sorry to beat a dead horse...
> 
> XML Schema, therefore, can only be used to define a SUBSET of 
> legal XML documents, right?

Yes. 

> In other words, a file can be a legal XML file and not be 
> validatable (if thats a word) by XML Schema.

No. Any XML file can be validated by an XML Schema. However it is
possible that there are constraints you'd like enforced on the structure
of your document that are not expressible in W3C XML Schema. 

-- 
PITHY WORDS OF WISDOM 
Nothing ever gets built on schedule or within budget.


This posting is provided "AS IS" with no warranties, and confers no
rights. 
Received on Tuesday, 16 September 2003 20:56:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:39 GMT