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

Re: Redefine and extension base

From: Jeni Tennison <jeni@jenitennison.com>
Date: Sat, 12 Jan 2002 13:01:32 +0000
Message-ID: <58447843995.20020112130132@jenitennison.com>
To: Pete Johnston <p.johnston@ukoln.ac.uk>
CC: xmlschema-dev@w3c.org
Hi Pete,

> When I attempt to validate an instance against this, XSV (both the
> service on the web and the Windows executable) reports an error in
> new-testdc.xsd "Basing a type on itself is forbidden".
> But under 4.2.2 of XML Schema 1: Structures, I find
>> Type definitions must use themselves as their base type definition;
> And in fact, if I change the base attribute value in new-testdc.xsd
> to, say, xs:string then XSV tells me "attempt to redefine in terms
> of type other than self: elementType vs. string" - which I guess is
> what I'd expect.
> But it seems to want it both ways.... Is this a problem in XSV or
> (very likely) have I missed something please?

I think that it's a problem in XSV. What you've done looks OK and
Xerces C++ seems to manage without any complaints.



Jeni Tennison
Received on Saturday, 12 January 2002 08:01:34 UTC

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