W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2003

RE: attributeFormDefault="unqualified"

From: Biron,Paul V <Paul.V.Biron@kp.org>
Date: Thu, 31 Jul 2003 07:29:57 -0700
Message-Id: <8904C60CACA7D51191BC00805FEAAF43016EBB26@crdc-exch-7.crdc.kp.org>
To: jmaron@oracle.com, xmlschema-dev@w3.org
> -----Original Message-----
> From: Jon Maron [mailto:jonathan.maron@oracle.com] 
> Sent: Thu, Jul 31, 2003 07:04
> To: xmlschema-dev@w3.org
> 
>   If the value is set to "unqualified" does that mean that:
> 
>   1)  Attributes are NOT REQUIRED to specify a namespace (but 
> could) or
>   2)  Attributes must not specify a namespace

From section 3.2.2 [1]

	If the <attribute> element information item has
	<schema> as its parent, the corresponding schema
	component is as follows:

		{target namespace}	The *actual value* of the
		targetNamespace [attribute] of the parent <schema>
		element information item, or *absent* if there is none.

	otherwise if the <attribute> element information item has
	<complexType> or <attributeGroup> as an ancestor and the
	ref [attribute] is absent, it corresponds to an attribute use
	with properties as follows:

		{target namespace}	If form is present and its
		*actual value* is qualified, or if form is absent and
		he *actual value* of attributeFormDefault on the <schema>
		ancestor is qualified, then the *actual value* of the
		targetNamespace [attribute] of the parent <schema>
		element information item, or *absent* if there is none,
		otherwise *absent*.

pvb

[1] http://www.w3.org/TR/xmlschema-1/#declare-attribute
Received on Thursday, 31 July 2003 10:39:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:39 GMT