W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Re: xsi:type and xs:all : second test case, same players, different errors.

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Tue, 02 Oct 2001 04:31:47 +0200
Message-ID: <3BB92713.3080709@dyomedea.com>
To: Eddie Robertsson <eddie@allette.com.au>
Cc: xmlschema-dev@w3.org
Eddie Robertsson wrote:

>>Curiously (since "element2" hasn't been declared as global), xerces
>>considers this document valid.
> I don't really understand why it (in this case) would be different if element2 was
> declared as global?

That's the point ;=) ...

In my previous message, I mentioned a bug in xerces that reports an 
error when an element is not declared even if its type if specified in 
the instance document.

I was thus expecting to hit this bug in this case as well and the fact 
that "element2" exists somewhere in the schema even if not defined as 
global does seem to make a difference.


> Cheers,
> /Eddie

See you in Scottsdale, Arizona.
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
Received on Monday, 1 October 2001 22:31:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:54 UTC