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=7687>. 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=7687 createElementNS ------- Additional Comments From [EMAIL PROTECTED] 2002-04-03 14:07 ------- There are two issues here: the DOM, and the output of an XML serializer. The DOM does not automatically create namespace declaration attributes. If you want those to appear at specific places, create them yourself. On the other hand, an XML serializer should notice when a prefix has been used which is not in the scope of an already-existing declaration, and synthesize the declaration attribute at some appropriate location; otherwise it has not produced a correct XML representation of the DOM's contents. Again: See the DOM Level 3 working draft for some proposed algorithms. If the Xerces serializer doesn't already follow those approaches, that could indeed be considered a bug (or at least an enhancement request). Of course if you're writing your own serializer, it's your responsiblity to deal with this appropriately. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
