Re: Terminology: does an XML Schema "declare" a targetNamespace? "specify" a targetNamespace?

On Sun, Mar 27, 2011 at 6:52 PM, Michael Kay <mike@saxonica.com> wrote:
> which it acquires by  virtue of the presence of a targetNamespace attribute on the xs:schema
> element of the schema document in which the XML representation of the
> component appears.

I think this is true with XML Schema 1.0.

In XML Schema 1.1, xs:element and xs:attribute instructions can
specify a local targetNamespace property which overrides the
targetNamespace property present on the xs:schema instruction.



-- 
Regards,
Mukul Gandhi

Received on Sunday, 27 March 2011 13:53:06 UTC