Re: XML: attributes and namespaces - no clear solution

-----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 UTC