Re: [xslt] Segfault while copying a nodeset (document)
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Segfault while copying a nodeset (document)
- Date: Tue, 12 Jun 2001 15:04:28 -0400
On Tue, Jun 12, 2001 at 08:10:51PM +0200, Raphael Hertzog wrote:
> In fact I haven't. I thought that I could prevent the XML_DTD_NODE from
> beeing copied with a little change in xsltCopyOf but in fact I can't
> because it uses xsltCopyTreeList to do the real job. And I don't want to
> change xsltCopyTreeList or xsltCopyTree because they may be used
> elsewhere where copying DTD nodes may be perfectly legitimate.
>
> And I probably can't change the data sent to those functions...
>
> What do you suggest to do ?
The best is to check against the XML_DTD_NODE in the various places where
nodes are copied in the libxslt. It should not be too hard actually. I
haven't yet looked at your example specifically. I also fixed another
DTD related crash in libxml CVS so it may already be fixed in a different
way. I will investigate :-)
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
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]