W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2003

FW: Built-in Attributes

From: Biron,Paul V <Paul.V.Biron@kp.org>
Date: Mon, 10 Nov 2003 15:26:46 -0800
Message-Id: <8904C60CACA7D51191BC00805FEAAF4301B8BCB1@crdc-exch-7.crdc.kp.org>
To: www-xml-schema-comments@w3.org
For some reason, the message below, which I sent last week never showed up in the archives...so I'm sending it again.

pvb
-----Original Message-----
From: Biron,Paul V 
To: www-xml-schema-comments@w3.org

forwarding this request so it gets in our queue...


-----Original Message-----
From: Michael Rys [mailto:mrys@microsoft.com]
Sent: Fri, Oct 31, 2003 21:47
To: Michael Rys; w3c-xml-query-wg@w3.org

OTOH http://www.w3.org/TR/xmlschema-1/#xsi.nil says

 

Attribute Declaration for the 'nil' attribute

Property

Value

{name} <http://www.w3.org/TR/xmlschema-1/#a-name#a-name> 

nil

{target namespace} <http://www.w3.org/TR/xmlschema-1/#a-target_namespace#a-target_namespace> 

http://www.w3.org/2001/XMLSchema-instance

{type definition} <http://www.w3.org/TR/xmlschema-1/#type_definition#type_definition> 

The built-in boolean <http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/datatypes#boolean>  simple type definition

{scope} <http://www.w3.org/TR/xmlschema-1/#a-scope#a-scope> 

global

{value constraint} <http://www.w3.org/TR/xmlschema-1/#a-value_constraint#a-value_constraint> 

*absent* <http://www.w3.org/TR/xmlschema-1/#key-null#key-null> 

{annotation} <http://www.w3.org/TR/xmlschema-1/#a-annotation#a-annotation> 

*absent* <http://www.w3.org/TR/xmlschema-1/#key-null#key-null> 

 

So what should be considered normative?

 

Best regards

Michael

 

________________________________

From: Michael Rys
Sent: Friday, October 31, 2003 9:44 PM
To: w3c-xml-query-wg@w3.org
Subject: Built-in Attributes

 

The xsi schema at http://www.w3.org/2001/XMLSchema-instance defines the built-in attributes:

 

  <xs:attribute name="nil" /> 

  <xs:attribute name="type" /> 

  <xs:attribute name="schemaLocation" /> 

  <xs:attribute name="noNamespaceSchemaLocation" />

 

This implies that their types are xs:anySimpleType. However the F.S. gives more specific types. Shouldn't we align with the xsi schema?

 

Best regards

Michael
Received on Monday, 10 November 2003 18:31:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:01 UTC