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>
-----BEGIN PGP SIGNED MESSAGE-----
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.

ht
- -- 
       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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFODf9BkjnJixAXWBoRAk9nAJ9AbKUWSCiVgcZBS9McgIy8eMgY/gCfW4nM
v1ElgodQme19/T5PZiTzvF8=
=Qkt5
-----END PGP SIGNATURE-----
Received on Friday, 1 July 2011 17:09:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 July 2011 17:09:59 GMT