W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2011

Re: XML: attributes and namespaces - no clear solution

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 01 Jul 2011 18:09:21 +0100
To: Misha.Wolf@thomsonreuters.com
Cc: xml-editor@w3.org, iptc-news-architecture-dev@yahoogroups.com
Message-ID: <f5bliwidj26.fsf@calexico.inf.ed.ac.uk>
Hash: SHA1

A brief but partial response, as a full one will take some time.

1) Unprefixed attributes are never in a namespace.

2) The intention of the phrase "determined by the element" is that
   given an unprefixed attribute the _semantics_ of that attribute are
   the responsibility of its owner element.

   Thus in e.g. <person title=...> and <book title=...>
   the title attribute may receive very different interpretations.

   'person' and or 'book' may be in a namespace, in which case you
   have a good idea of where to look for information about those
   elements and, in turn, their unprefixed attributes.

Hope this helps.

- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Friday, 1 July 2011 17:09:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:47 UTC