Re: Referencing attributes from the XMLSchema-instance namespace

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