[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: wd-xml-names: namespace partitions

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@i...
  • Date: Tue, 11 Aug 1998 13:23:34 -0700

namespace partitions
At 09:34 PM 8/11/98 +0200, james anderson wrote:
>it is neither clear why the namespace partitions are necessary nor are the 
>advantages of implementing them evident. how would they change either
>the expressiveness or the correctness of a document?

Sections 6.1 tries to explain this necessity at some length.  However,
you are not alone in your view that this is superfluous; David Megginson
has no problem with elements & attributes having "the same name", thinks
the applications should sort it out.  A WG majority eventually decided
that interoperability was improved by sorting the classes of names
into partitions.

>1. any element-relative attribute-name qualification, for example for the
>purpose of xlink or xsl specification could be accomplished with an additional
>clause which constrained the element type name.

True, but enough of us liked the idea of a standalone name for 
unqualified attributes that we wrote it into the spec.

>2. since the element type name needs in itself to be unique there is no
>advantage to additional qualification for the attribute names for the purpose
>of attribute declaration.

There is if you want to have a way to write down an identifier
for such an attribute.  The key question is "what information do you
need to have to find the right markup?"  The answer is "the attribute 
name and the element name and (if any) namespace".   The real reason
we got there was in asking the question, WRT the following:

<HTML:A HREF="xxx.x">

what namespace is the HREF attribute in?  The natural language answer
is "in the namespace of HTML's A element".  All the stuff in section 6
is an attempt to formalize that. -Tim

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.