- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Tue, 01 Dec 2009 11:23:34 +0000
- To: Florent Georges <fgeorges@fgeorges.org>
- Cc: Norman Walsh <ndw@nwalsh.com>, public-xml-processing-model-comments@w3.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Florent Georges writes: > 2009/12/1 Henry S. Thompson wrote: > >> Presumably you mean > >> <p:rename match="/*" new-name="foo" new-namespace="http://..."/> > > I can't speak about what Norm has meant, but in your above > instruction, the processor does not know which prefix to bind to the > namespace URI. If you make new-name value a lexical QName, the > processor have all the three pieces: the prefix, the namespace URI and > the local name. > > I think this is exactly the same context than with xsl:element's > @name and @namespace <http://www.w3.org/TR/xslt20/#xsl-element>. Hmmm. I had forgotten about that precedent, if indeed I had ever noticed it. I am not sure it's a good one to follow -- it means _inter alia_ that the value of the name attribute does not really have type QName, because that type _requires_ there to be a namespace declaration in scope. . . I'm inclined to think this is a mistake in the XSLT specs (which I realise can't now be fixed, as it goes back to XSLT 1.0). 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) iD8DBQFLFPy3kjnJixAXWBoRAuHtAJ9Gpcmdd6uwsKAwv1M7jQBfub43dwCffUWW kdfXhHHQAq8eDXHtC0Sd9Ug= =//A1 -----END PGP SIGNATURE-----
Received on Tuesday, 1 December 2009 11:24:17 UTC