Re: [xml] redicting parts of trees

2005-05-20 Thread Kasimier Buchcik
On Thu, 2005-05-19 at 18:52 -0400, Rob Richards wrote: Rob I noticed that xmlReconciliateNs will break ns-wellformedness in the following case: a1 a2 xmlns:foo=urn:test:mine foo:a3/ /a2 /a if attached to: p xmlns:bar=urn:test:mine/ we get: p xmlns:bar=urn:test:mine a1 a2

Re: [xml] redicting parts of trees

2005-05-20 Thread Martijn Faassen
Kasimier Buchcik wrote: Hi, On Thu, 2005-05-19 at 20:19 +0200, Martijn Faassen wrote: Kasimier Buchcik wrote: Hi, On Thu, 2005-05-19 at 17:16 +0200, Martijn Faassen wrote: Kasimier Buchcik wrote: [...] Anyway, anything I can do now to help? I will of course be testing this facility at some

Re: [xml] redicting parts of trees

2005-05-20 Thread Kasimier Buchcik
Hi, On Fri, 2005-05-20 at 16:59 +0200, Martijn Faassen wrote: Kasimier Buchcik wrote: [...] Yeah, I read some of the message on your lxml list about your mechanism to keep detached nodes alive if they are referenced by multiple wrapper proxies. We took a sometimes memory-consuming but

[xml] xmlsave serialization patch for CDATA

2005-05-20 Thread Mark Vakoc
Since it's possible using the tree API to create a CDATA section without content the following patch fixes a serialzation but when cur-content == NULL It appears according to the spec[1] that CDATA sections can be empty so this outputs ![CDATA[]]. It could be argued that it should output nothing

Re: [xml] xmlsave serialization patch for CDATA

2005-05-20 Thread Daniel Veillard
On Fri, May 20, 2005 at 10:52:34AM -0700, Mark Vakoc wrote: Since it's possible using the tree API to create a CDATA section without content the following patch fixes a serialzation but when cur-content == NULL It appears according to the spec[1] that CDATA sections can be empty so this

Re: [xml] redicting parts of trees

2005-05-20 Thread Martijn Faassen
Kasimier Buchcik wrote: Hi, On Fri, 2005-05-20 at 16:59 +0200, Martijn Faassen wrote: Kasimier Buchcik wrote: [...] Yeah, I read some of the message on your lxml list about your mechanism to keep detached nodes alive if they are referenced by multiple wrapper proxies. We took a sometimes

Re: [xml] redicting parts of trees

2005-05-20 Thread Rob Richards
Kasimier Buchcik wrote: I noticed that xmlReconciliateNs will break ns-wellformedness in the following case: a1 a2 xmlns:foo=urn:test:mine foo:a3/ /a2 /a if attached to: p xmlns:bar=urn:test:mine/ we get: p xmlns:bar=urn:test:mine a1 a2 xmlns:bar=urn:test:OTHER bar:a3/ /a2 /a /p

Re: [xml] XPath Regression Fails on Win32 for libxml2-2.6.19

2005-05-20 Thread Mark Vakoc
Um, I wrote those a while ago while playing with windows cmd scripting to mimic the *nix shell equivalents with the hope of having make tests run on win32 also. Since then I've probably used 10+ versions of libx.* and frankly haven't run those tests once, so no shock if it's broken. I can't