Hi Tony,

> Does that mean if an attribute is defined within an element, it belongs
to
> no namespace, but if it is defined globally, it belongs to the target
> namespace?
> Could someone please confirm?

3.2.2 of the structure spec can answer you question.

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

For local attribute:
{target namespace} If form is present and its �actual value� is qualified,
or if form is absent and the �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�.

Cheers,
Sandy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to