+Tue Nov 18 13:42:12 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+ * libexslt/strings.c: fixed entity problem in exslt:tokenize
+ uncovered by newapi.xsl
+ * libxslt/transform.c,libxslt/pattern.c,libxslt/keys.c: changed
+ to use IS_BLANK_CH for char compares (fixes warnings)
+
Fri Nov 14 23:59:08 CET 2003 Daniel Veillard <daniel@veillard.com>
* libxslt/preproc.c: applied fix from Bjorn Reese to close
}
}
if (token != cur) {
- node =
- xmlNewChild((xmlNodePtr) container, NULL,
- (const xmlChar *) "token", token);
+ node = xmlNewDocRawNode(container, NULL,
+ (const xmlChar *) "token", token);
+ xmlAddChild((xmlNodePtr) container, node);
xmlXPathNodeSetAddUnique(ret->nodesetval, node);
}
}
current = end = 0;
while (match[current] != 0) {
start = current;
- while (IS_BLANK(match[current]))
+ while (IS_BLANK_CH(match[current]))
current++;
end = current;
while ((match[end] != 0) && (match[end] != '|')) {
#define CUR_PTR ctxt->cur
#define SKIP_BLANKS \
- while (IS_BLANK(CUR)) NEXT
+ while (IS_BLANK_CH(CUR)) NEXT
#define CURRENT (*ctxt->cur)
#define NEXT ((*ctxt->cur) ? ctxt->cur++: ctxt->cur)
current = end = 0;
while (pattern[current] != 0) {
start = current;
- while (IS_BLANK(pattern[current]))
+ while (IS_BLANK_CH(pattern[current]))
current++;
end = current;
level = 0;
element = elements;
while (*element != 0) {
- while (IS_BLANK(*element))
+ while (IS_BLANK_CH(*element))
element++;
if (*element == 0)
break;
end = element;
- while ((*end != 0) && (!IS_BLANK(*end)))
+ while ((*end != 0) && (!IS_BLANK_CH(*end)))
end++;
element = xmlStrndup(element, end - element);
if (element) {