Re: [xml] Bug-Report: xmlNewNode

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Dec 29 1999 - 19:49:37 EST


 Hi Mathias,

replying while on hollidays, you should get my mail when I reconnect

On Fri, Dec 24, 1999 at 02:25:19AM +0100, Mathias Hasselmann wrote:
>
> Bug-Report:
>
> xmlNewNode does not care about appending the same namespace prefix
> with different urls to the same node.
>
> xmlNewNs (node, "libxml", "http://rufus.w3.org/veillard/XML");
> xmlNewNs (node, "libxml", "http://xmlsoft.org/");
>
> produces
>
> <node-name ... xmlns:libxml="http://rufus.w3.org/veillard/XML"
> xmlns:libxml="http://xmlsoft.org/">

  Ok thanks, I fixed it,
It now checks taht the prefix is not already defined on that node
and returns NULL in that case (and won't add it)

  thanks,

Daniel

-- 
	    [Yes, I have moved back to France !]
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:56 EDT