DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27579>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27579

xmlns:* attributes copied incorrectly in literal result element





------- Additional Comments From [EMAIL PROTECTED]  2004-03-11 00:20 -------
XSLT refers to the data model of XPath when it talks about the result tree. In 
the XPath data model, you can see here that namespace declarations in markup do 
not have a corresponding attribute node in the data model:

http://www.w3.org/TR/xpath#attribute-nodes
http://www.w3.org/TR/xpath#namespace-nodes

There is nothing in the Namespaces recommendation that mandates any other 
recommendation treat these as attributes.  In fact, that would either force the 
Namespaces recommendation to enumerate how namespace declarations can be 
treated, or limit the ways other recommendations use namespaces.

This is not unique on the part of XPath and XSLT, since the XML Information Set 
recommendation also treats namespace declarations differently from other 
attributes.

When the XPath recommendation the term "attribute" to refer to a namespace 
declaration, it is referring to the markup, not to the instance of the data 
model.

Reply via email to