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

Re: Comments on Section 2.6 of XML-Namespaces

  • From: james anderson <James.Anderson@m...>
  • To: "xml-dev Mailing List (E-mail)" <xml-dev@i...>
  • Date: Sun, 05 Apr 1998 23:03:09 +0200

Re: Comments on Section 2.6 of XML-Namespaces
Andrew Layman wrote:

> The points you raise were addressed during the discussion leading up to the
> current paper.  Briefly, the namespaces facility does not address how
> "global" attributes are to be declared. It says merely that if a single
> attribute is used in two different element types, it may use namespace
> qualification to represent that it is in fact the same attribute, not two
> attributes with equivocal names.
> Nor does the namespace facility express an opinion on when such use is
> reasonable. As you note, the XML-Link proposal has found it useful.
>         I hope this summary is useful.

not yet. as it stands, this last statement, especially, confuses me more than it
helps. in the subjunktive it would be ok. the xml-link document itself proposes
to contend with ambiguous attribute names through name remapping. (at least in
the released version "www.w3.org/TR/WD-xlink#remapping".) for which one does not
need "namespaces". (or rather attribute remapping is itself a form of
ideosyncratic support for namespaces (please see the thread on namespaces and
their bad rep)).
with support for namespaces (even the form of conventional "namespace" invoked
with comments and "dotted" names, that is the form where the element/attribute
definer gets to say what is "theirs") you do not need to map attributes.
according to that way of working, if the application element uses the qualified
element name, then that's what it means. (nb. i do not claim this form of
namespace support is sufficient, i describe it to illustrate the point only.)
the example from WD-xlink would simply look like:

<TEXT-BOOK title="Compilers: Principles, Techniques, and Tools"
             role="PRIMARY" xml:title="Primary Textbook for the Course"

you don't need a pi in the application document for this, you just need some
comments in the source schema and a registry in which authors stake claims to
the names.
while xml-link would benefit from namespaces, it doesn't yet appear to show it.

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...)


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.
First Name
Last Name
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.