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/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to