Re: add-attribute adding namespace declarations.

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