Re: [xml] setting URL for xmlRelaxNGParserCtxt?
- From: Daniel Veillard <veillard redhat com>
- To: Martijn Faassen <faassen infrae com>
- Cc: Kasimier Buchcik <kbuchcik 4commerce de>, xml gnome org
- Subject: Re: [xml] setting URL for xmlRelaxNGParserCtxt?
- Date: Wed, 26 Jan 2005 09:31:14 -0500
On Wed, Jan 26, 2005 at 03:12:52PM +0100, Martijn Faassen wrote:
So what *is* stored in these dictionaries? I still don't know. Tagnames?
Namespace strings? Text node content? IDs? All of them? I guess I'll
have to study the source to get the answer. :)
markup tag name, very small text node values, ID/REFs, DTD attribute
defaults values, namespace names. With libxslt you also get stylesheets
names.
general text node content is not added, this would explode and be unusable.
If one blows away a dictionary once every while, what happens to the
things referencing things inside it?
they will point to freed memory. So don't free the dictionnary until
it it not in use anymore. Use another one, but you will loose unicity
of strings.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://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]