- From: <Dmitry_Trifonov@exigengroup.com>
- Date: Thu, 18 Oct 2001 17:30:57 +0300
- To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Hello all, Now I see - "What is targetNamespace for." (See below) But I have one important question - "How we can use it? or For which purposes we will use targetNamespace?" Another question: "How namespace http://example.org/demos resolved to schema file? By my mind namespace is unique identifier only." Best Regards, Dmitry Trifonov Exigen Group (Saint-Petersburg) Message-ID: <002e01c103a9$101a9b20$0300a8c0@greyarea> From: "Martin Gudgin" <marting@develop.com> To: "Andrei Astahov" <AAstahov@hkw.co.uk>, <www-xml-schema-comments@w3.org> Date: Tue, 3 Jul 2001 11:15:16 +0100 Subject: Re: targetNamespace - what is it for? The targetNamespace attribute is used to specify which namespace the schema constructs such as element declarations, attribute declaration and type definitions are part of. Or, put another way, which namespace the schema describes. Or, put yet another way, which namespace the schema can be used to validate. So, a schema with a targetNamespace of http://example.org/demos could be used to validate documents containing elements and/or attributes from that namespace. Regards Martin Gudgin DevelopMentor ----- Original Message ----- From: "Andrei Astahov" <AAstahov@hkw.co.uk> To: <www-xml-schema-comments@w3.org> Sent: Tuesday, July 03, 2001 9:17 AM Subject: targetNamespace - what is it for? > Could someone please explain the purpose of the targetNamespace attribute, > other than imposing restrictions on INCLUDE element? > > When the value of this attribute is read and how it is used (or might be > used) by parsers and applications? > I read through > XML Schema Part 0: Primer > http://www.w3.org/TR/2000/WD-xmlschema-0-20000407/ > XML Schema Part 1: Structures > http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/ > Namespaces in XML http://www.w3.org/TR/REC-xml-names/ > and still cannot get clear picture on that. > > aa >
Received on Thursday, 18 October 2001 09:31:50 UTC