> > * I've had some problems deep cloning document fragments and calling
> > getOwner
> > on the same. I'm not sure if this is a the library or the PERL wrapper
> > interface.
>
> given that all the bindings to Gdome2 are quite simple and, as far as I
> know, most of them are created automatically, I would suspect the
> problem is in Gdome2. An equivalent C program raising the problem would
> be a great help.
>
> Regards,
> luca
OK. I've written my first C/DOM program and I still get the problem. It's
allegedly an Exception 0 (zero) which was not very helpful.
I attach the program. Hopefully it's not something weird and local to my
machine or other horrors.
I *really* want to get my code using gdome as I've been
running some experiments and gdome could potentially save users of my software
up to a GIG of RAM. (no kidding!) The problem with PERL is that it does
reference
counting which means every time you read a reference you mementarily change the
reference count, thus modifying it, thus causing a copy-on-write of the memory
if the program is forked (which it is as it's running as part of apache).
This problem goes away with using GDOME and the RAM usage also goes down by
75% to store XML because C is so much more efficient, so it's an all round win
if I can get it working.
A bit of a plug for the project: It's GPL software and officially part of GNU,
currently in use by a number of universities at an experimental level with many
more in earlier stages of development (plus other sites including one of the
NASA labs). ie. Helping me get this working will really benefit
people.</plug></shameless>
>
> _______________________________________________
> gdome mailing list
> gdome@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gdome
--
Christopher Gutteridge -- cjg@xxxxxxxxxxxxxxx -- +44 (0)23 8059 4833
,___O<
_____________________________(___)________________________________________
| | |
| Now Playing: "Fire in Cairo" | "They say I'm deluded, demented, |
| from Boys Don't Cry - The Cure | deranged; but guess what I say?" SO |
| | BE IT! - from "Pump up the Volume" |
|___________________________________|______________________________________|
domerror.c
Description: Text document
|