W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Re: choice for attributes?

From: Eddie Robertsson <eddie@allette.com.au>
Date: Thu, 24 Jan 2002 09:55:34 +1100
Message-ID: <3C4F3F66.3E053505@allette.com.au>
To: Scot Nielsen <scotnielsen@yahoo.co.uk>
CC: xmlschema-dev@w3.org
Hi Scot,

Scot Nielsen wrote:

> Thanks for this Jeni.
> Can we then assume that many schema rules and constraints are
> validated solely by the parser and not the schema.xsd? For example an
> <element> declaration must have either a type or ref attribute but not
> both. I can find no constraint in schema.xsd to enforce this so it
> must be the parser right?
That's correct. Most schema processors won't actually use the
XMLSchema.xsd schema to validate the schema you pass to it. Instead it
will have a built in schema structure that gets used for validation.

Received on Wednesday, 23 January 2002 17:46:31 UTC

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