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/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to