My first hour on this list, so please forgive me if the question is
silly (I haven't lurked... ;-)

I guess that thanks to dict, things run MUCH faster (less memory, less
string comparisons since many comparisons end with "==" of addresses,
etc.).

Unfortunately, when I'm trying to print addresses of node->name (with
equal names), I receive different addresses.

I printed doc->dict, and it's NULL.

I replaced the htmlReadMemory() by htmlCtxtReadMemory(), and finally I
see a dict (in ctxt->dict), but in the wrong place (doc->dict is still
NULL), and addresses of the same names are still different.

Under SAX the addresses (of equal strings) are equal (i.e. dict is
eanabled).

How can I enable the "dict" feature in DOM too?

Thanks!
-- 
Eli Marmor
[EMAIL PROTECTED]
Netmask (El-Mar) Internet Technologies Ltd.
__________________________________________________________
Tel.:   +972-9-766-1020          8 Yad-Harutzim St.
Fax.:   +972-9-766-1314          P.O.B. 7004
Mobile: +972-50-5237338          Kfar-Saba 44641, Israel
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to