Re: [xml] libxml2 Relax NG include bug?
- From: Daniel Veillard <veillard redhat com>
- To: Martijn Faassen <faassen infrae com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 Relax NG include bug?
- Date: Thu, 27 Jan 2005 12:26:58 -0500
On Thu, Jan 27, 2005 at 06:18:13PM +0100, Martijn Faassen wrote:
Hey,
Following up again:
I think I tracked down the bug. The relaxng.c checks for the URL on the
doc object to determine the base. This URL exists on the original
xmlDoc* I pass in, but xmlRelaxNGNewDocParserCtxt makes a *copy* of this
document using xmlCopyDoc(). This doesn't copy the URL, so the URL will
be NULL.
haha :-)
I don't know whether the bug is in xmlCopyDoc not copying the URL, or
yes, I commited the fix to tree.c in CVS,
thanks a lot !
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]