[xml] xmlNodeDump and namespace definitions

Hi everyone,

I've noticed an issue with xmlNodeDump. as the needed namespace definitions are 
not dumped. I've reported a bug
with a proposed patch but I've received no comments.

<test xmlns:foo="http://bar.com/";>
<child2 foo:attr="value"/>

If xmlNodeDump is invoked on child2 the result is
<child2 foo:attr="value"/>
The expected result should be
<child2 xmlns:foo="http://bar.com/"; foo:attr="value"/>

Is this really a bug or a feature? Is the patch ok? I'm willing to improve it 
of course.

Alessandro Pignotti

Attachment: signature.asc
Description: This is a digitally signed message part.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]