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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7589

Unncessary repeated xmlns attribute





------- Additional Comments From [EMAIL PROTECTED]  2002-03-28 21:28 -------
Namespace declaration attributes should probably not be written out by the 
serializer unless either:

(a)  they appear explicitly in the DOM or SAX source as node/event data (in 
which case you should take the user's word for it, and trust that if they didn't 
want it they wouldn't have requested it) 

or 

(b)  they must be synthesized in order to successfully serialize the document, 
because there is no declaration currently in scope.  (See, eg, the DOM Levle 3 
proposal for namespace normalization.)


So the first question is: What was the input which generated this output? If you 
explicitly asked for the declarations, I think the serializer's doing exactly 
the right thing in outputting them. If you didn't, it's being 
overprotective/wasteful, and that should probably be fixed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to