Re: [xml] Extracting multiple XML fragments of the same type
- From: Daniel Veillard <veillard redhat com>
- To: Holger Rauch <Holger Rauch heitec de>
- Cc: xml gnome org
- Subject: Re: [xml] Extracting multiple XML fragments of the same type
- Date: Thu, 22 Aug 2002 05:23:17 -0400
On Thu, Aug 22, 2002 at 10:39:09AM +0200, Holger Rauch wrote:
Hi Daniel!
On Wed, 21 Aug 2002, Daniel Veillard wrote:
[...]
No idea, run it under a debugger, put a breakpoint in xmlDocCopyNode
and see what's happening ! You have the context, I don't, so please report.
That's what I did. Here's what I noticed:
In line 3018 (right before the "return(ret);" statement) in function
"xmlStaticCopyNode()" everthing is correct. However, when I try to access
(print out the value of) ret in "xmlDocCopyNode()" I get a message "No
symbol ret in current context". Is that because "xmlStaticCopyNode()" is
Bahhh, you compiled the code with optimization, the compiler allocated
ret to a register and the debugger is unable to access it. Recompile
without -O or -O2 !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.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]