W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

Re: the case of two bats

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 22 May 2000 09:34:13 +0100 (BST)
Message-Id: <200005220834.JAA21484@nag.co.uk>
To: abrahams@acm.org
CC: xml-uri@w3.org, xml-uri@w3.org

> Wait a minute.  The element names in this example are aDoc and a:bat.  The
> value of the xmlns attribute has no effect on what the element names are.
> It is used only in the uniqueness tests of Sec. 5.3 of the namespace spec.
> Even its use in XPath affects only expanded names, not element names.

Yes of course but with a namespace view of XML it is only the
expanded name that is important. Whether the XML element syntax
is a:bat or b:bat is just a syntactic difference along the same lines as
whether 2 or ' is used around attribute values.

The expanded names in the example become context sensitive.

David
Received on Monday, 22 May 2000 04:35:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:42 UTC