W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > December 2008

Re: question regarding test case msData/wildcards/wildZ006

From: Tobias Koenig <tobias.koenig@trolltech.com>
Date: Tue, 30 Dec 2008 15:49:07 +0100
To: public-xml-schema-testsuite@w3.org
Message-Id: <200812301549.07961.tobias.koenig@trolltech.com>

On Tuesday 30 December 2008 10:45:29 Michael Kay wrote:

Hej Michael,

> > ... so the schema says that <foo> can contain any element that is
> > not in namespace "urn:target".
>
> No, it say that <foo> can contain any element that is in a namespace other
> than "urn:target". An element that is in no namespace does not match a
> ##other wildcard. Well-known gotcha, a consequence of XSD's rigid adherence 
> to the unfortunate rule that the "null namespace" is not considered to be a
> namespace.
Ahh, that explains it indeed :)
Thank you very much for clarification!

Ciao,
Tobias
Received on Tuesday, 30 December 2008 14:49:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 30 December 2008 14:49:30 GMT