[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Issue 907] libxml broken?

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2002-10-08 15:17:01 CEST

On Mon, Oct 07, 2002 at 01:38:36PM +0100, Joe Orton wrote:
> On Mon, Oct 07, 2002 at 06:41:50AM -0500, Clark Rawlins wrote:
> > I haven't had a chance to look into this for a few days but last night I
> > started poking arround the libsvn_ra_dav code to figure out where the
> > escaped &amp; were comming from.
> ...
> > Can someone confirm the workarround?
>
> Yes, confirmed that libxml 2.4.23 isn't expanding "&amp;" in attribute
> values; unless there is something extra that neon should be doing with
> the libxml SAX interface I'd presume this is a libxml2 bug.

I asked Daniel Veillard about this, and you do have to turn this on
explicitly with libxml, here's the neon patch:

--- src/ne_xml.c 22 Sep 2002 08:40:25 -0000 1.69
+++ src/ne_xml.c 8 Oct 2002 13:09:35 -0000
@@ -714,6 +714,7 @@
     if (p->parser == NULL) {
         abort();
     }
+ p->parser->replaceEntities = 1;
 #endif
     return p;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 8 15:17:33 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.