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.

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:19 UTC