+Wed Mar 16 17:19:24 HKT 2005 William Brack (wbrack@mmm.com.hk)
+
+ * libxslt/xslt.c: fixed problem with text node on stylesheet
+ document without a dictionary (bug 170533)
+
Sun Mar 13 20:08:34 CET 2005 Daniel Veillard <daniel@veillard.com>
* NEWS configure.in doc/*: preparing 1.1.13, updated and rebuilt
while (text != NULL) {
if ((text->content != NULL) &&
(!xmlDictOwns(style->dict, text->content))) {
- xmlChar *old = (xmlChar *) text->content;
/*
* internalize the text string
*/
- text->content = (xmlChar *)
- xmlDictLookup(style->dict, old, -1);
- xmlFree(old);
+ if (text->doc->dict != NULL) {
+ xmlChar *old = (xmlChar *) text->content;
+ text->content =
+ (xmlChar *) xmlDictLookup(
+ text->doc->dict, old, -1);
+ xmlFree(old);
+ }
}
next = text->next;