W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2007

Re: Referencing attributes from the XMLSchema-instance namespace

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Thu, 1 Mar 2007 22:49:28 +0200
To: Michael Kay <mike@saxonica.com>
Cc: xmlschema-dev@w3.org, Dwight Kelly <dkelly@yahoo.com>
Message-ID: <20070301204928.GC1698@karelia>
Hi Michael,

Michael Kay <mike@saxonica.com> writes:

> > http://www.w3.org/TR/xmlschema-1/#Instance_Document_Constructions
>
> And that gives the answer?

Well, it says:

"All schema processors have appropriate attribute declarations
 for these attributes built in..."

And then in 3.2.7 it says what are the types of xsi:type, xsi:nil,
etc., as well as:

"There are four attribute declarations present in every schema by
 definition:"

So based on this and quotes you provided in your other email, it
seems like those four attributes are implicitly defined in the xsi
namespace (just like XML Schema built-in types, I guess), cannot be
redefined, and it appears to be legal to reference them in schema
definitions. Even though there could be some chicken and egg
anomalies like providing a default value for xsi:type that differs
from the type name in which it is declared.


Thanks for the feedback.

-boris

Received on Thursday, 1 March 2007 21:03:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:12 UTC