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

p:set-attributes - attributes with the "xmlns" prefix

From: <Toman_Vojtech@emc.com>
Date: Fri, 18 Jan 2008 09:32:45 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC78709669976@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

Hi all,

The specification of the p:set-attributes step (7.1.20) says:

"Each attribute on the document element of the document that appears on
the attributes port is copied to each element that matches the match
expression."

Does this apply also to namespace declarations (xmlns:* attributes)? If
so, possible collisions in namespace declarations would need to be
resolved.

The same problem can be encountered also in p:add-attribute and p:rename
(is it possible to rename an attribute so that its new name contains the
xmlns prefix?)

Vojtech

--
Vojtech Toman
Principal Software Engineer
EMC Corporation

Aert van Nesstraat 45
3012 CA Rotterdam
The Netherlands

Toman_Vojtech@emc.com
Received on Friday, 18 January 2008 14:30:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 January 2008 14:30:02 GMT