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-10 23:38 -------
Thanks very much for your rapid and detailed reply. I'm sure you're right
but in my defence I'd say it is far from obvious that namespace declarations
are not attributes. Obviously they convey additional information to
the parser, but it appears to me they are still attributes pretty much
like any other. Here's why I think this...

(1) The spec "Namespaces in XML" (http://www.w3.org/TR/REC-xml-names/)
does not say anywhere that a namespace declaration is not an attribute.
Indeed it uses the phrase "namespace declaration attribute".

(2) Only in the spec "XML Path Language (XPath)", in the section on attribute
nodes (http://www.w3.org/TR/xpath#attribute-nodes), does the final sentence
say "There are no attribute nodes corresponding to attributes that declare
namespaces". (a) This is referring to XPath in particular, not namespace
declarations in general; and (b) it still uses the word "attributes" to
refer to namespace declarations.

If namespace declarations are not normal attributes then surely this should
be specified in the namespace spec, not the XPath spec.

Am I missing something (again)? Many thanks.

Reply via email to