- From: Costello, Roger L. <costello@mitre.org>
- Date: Sun, 27 Mar 2011 09:47:22 -0400
- To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Thanks Michael. Let me put my spin on what I think you said: Each element and attribute that is declared in an XML Schema document acquires a namespace property by virtue of the presence of the targetNamespace attribute on the xs:schema element. Is that correct? This is an embarrassingly simple question: A namespace is a "property" is an element. Yes? I've never thought of a namespace as being a "property" of an element. What other "properties" do element's have? If an element has attributes, are those attributes a "property" of the element? /Roger -----Original Message----- From: Michael Kay [mailto:mike@saxonica.com] Sent: Sunday, March 27, 2011 9:22 AM To: Costello, Roger L. Cc: xmlschema-dev@w3.org Subject: Re: Terminology: does an XML Schema "declare" a targetNamespace? "specify" a targetNamespace? targetNamespace is a property of a schema component 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. Which is a mouthful, but to make it fit to go into the spec you would have to add appropriate fonts, brackets, and braces. But the important thing to note is that targetNamespace is not a property of a schema, it is a property of a schema document. Michael Kay Saxonica On 27/03/2011 13:36, Costello, Roger L. wrote: > Hi Folks, > > What is the correct terminology with regard to targetNamespace? > > - Does an XML Schema "declare" a targetNamespace? > > - Does an XML Schema "define" a targetNamespace? > > - Does an XML Schema "specify" a targetNamespace? > > - Does an XML Schema "create" a targetNamespace? > > - Does an XML Schema "identify" a targetNamespace? > > Or something else? > > /Roger > >
Received on Sunday, 27 March 2011 13:47:55 UTC