W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2011

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

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Sun, 27 Mar 2011 19:22:14 +0530
Message-ID: <AANLkTindpvNi3=xnXt97jw5-1BuQatKAd4u3XrXWp_Hr@mail.gmail.com>
To: Michael Kay <mike@saxonica.com>
Cc: "Costello, Roger L." <costello@mitre.org>, "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 27 March 2011 13:53:07 GMT