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

Re: Is the fixed-attribute on length-facet useless?

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 14 Aug 2002 17:46:01 +0100
Message-ID: <169184598158.20020814174601@jenitennison.com>
To: xmlschema-dev@w3.org, "Christopher Ebert" <cebert@pocketthis.com>

Hi Chris,

> When would the error show up? (This may be related to a problem I'm
> trying to solve -- or maybe not...) I would hope the parser would
> throw an error that pointed at the derived type's 'minLength' that
> was less than the base type's minLength. Maybe that's not the case?
> Or maybe it is for some parsers and not others?

It's a "Schema Component Constraint" (see
http://www.w3.org/TR/xmlschema-2#minLength-valid-restriction) so it
should arise when the schema is constructed by the validator. I don't
know which validators check this, nor how/when they'd report the



Jeni Tennison
Received on Wednesday, 14 August 2002 12:46:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:04 UTC