On 24 Jun 2005, at 04:30, Roger Menday wrote:
>
> Hi,
>
> Using,
>
> XMLStreamHelper.copy( .. , .. , false );
>
> with
>
> <hello xmlns="
http://www.xxx.com/hello">world</hello>
>
> as input, the namespace declarion is output twice.
>
> I think a small addition to writeNamespaces( .. ) in XMLStreamHelper
> fixes it (not 100% though). I committed this change to the cvs.
Awesome! :) I've tripped over that one before - thanks :)
> (I'm not really sure if this is the correct procedure, as it's not
> confirmed that there is a problem, or that this fix sorts it, etc).
No, go right ahead and fix stuff if you. If possible its always good
to create a little JUnit test case to try reproduce some bug so you
know for sure its a bug and when you've fixed it - plus it ensures
the bug never comes back.
James
-------
http://radio.weblogs.com/0112098/