RE: attributeFormDefault="unqualified"

> -----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 UTC