W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > December 2008

Re: add-attribute adding namespace declarations.

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 17 Dec 2008 17:27:41 +0000
To: "David A. Lee" <dlee@calldei.com>
Cc: <Toman_Vojtech@emc.com>, <public-xml-processing-model-comments@w3.org>
Message-ID: <f5b1vw6k8z6.fsf@hildegard.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David A. Lee writes:

> Cross-posting to the xml-processing group.
>
> I belive this requires a clarification in the spec.
> add-attribute absolutely *can* add namespace declarations, but the
> spec explicitly says it cannot.
>
> It just cant add namespace declarations without adding an additional
> (non xmlns) attribute.

The spec. is already perfectly clear in stating that the value of the
attribute name option cannot be 'xmlns:...'.  At most a Note could be
added along the lines of:

  Note: Adding an attribute whose name is in a namespace with no
  namespace declaration in scope in the target document may result in
  a namespace binding being added by [ref: namespace fixup].

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      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 really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFJSTaNkjnJixAXWBoRAhW6AJ9T1W1ARZvvL/miLKf6vprAUgjZ6ACePI9n
2edmo86toKDfW4k1zGX5hSY=
=WCPJ
-----END PGP SIGNATURE-----
Received on Wednesday, 17 December 2008 17:28:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 December 2008 17:28:25 GMT