* libxslt/numbers.c: fixed problem with UTF8 pattern
separator (bug 151975)
+Tue Sep 7 00:14:12 PDT 2004 William Brack <wbrack@mmm.com.hk>
+
+ * libxslt/numbers.c: fixed problem with UTF8 pattern
+ separator (bug 151975)
+
Mon Sep 6 14:27:38 PDT 2004 William Brack <wbrack@mmm.com.hk>
* libxslt/imports.c, libxslt/xslt.c, libxslt/xsltInternals.h:
default_sign = 1;
}
else {
+ int lenPS;
+ lenPS = xmlUTF8Size(self->patternSeparator);
+ if (lenPS <= 0) {
+ found_error = 1;
+ goto OUTPUT_NUMBER;
+ }
+
/* Skip over pattern separator */
- the_format = format + j + 1;
+ the_format = format + j + lenPS;
/*
* Flag changes interpretation of percent/permille
* in -ve pattern