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.

Cheers,
/Eddie
Received on Wednesday, 23 January 2002 17:46:31 GMT

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