Re: [xml] setting doc->URL when doc loaded from memory
- From: "Rob Richards" <rrichards ctindustries net>
- To: <veillard redhat com>
- Cc: <xml gnome org>
- Subject: Re: [xml] setting doc->URL when doc loaded from memory
- Date: Fri, 19 Sep 2003 09:11:59 -0400
From: Daniel Veillard
That should not be a problem, but it's better to call xmlNodeSetBase()
which will make sure it does a copy of the string to avoid memory crash
when freeing the document ! In general try to use the API for this
kind of modifications ...
Thanks,
Exactly how its being done. Just needed to make sure this concept was
correct and wouldnt be causing any collateral damage before rolling it out.
Rob
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]