applied fix from Bjorn Reese to close number formatting bug #126994 Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Fri, 14 Nov 2003 23:00:49 +0000 (23:00 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Fri, 14 Nov 2003 23:00:49 +0000 (23:00 +0000)
* libxslt/preproc.c: applied fix from Bjorn Reese to close
  number formatting bug #126994
Daniel

ChangeLog
doc/libxslt-api.xml
libxslt/preproc.c

index 5812ca1..0fcc533 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 14 23:59:08 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/preproc.c: applied fix from Bjorn Reese to close
+         number formatting bug #126994
+
 Fri Nov 14 18:44:50 CET 2003 Daniel Veillard <daniel@veillard.com>
 
        * Makefile.am configure.in libexslt.pc.in libxslt.spec.in: adding
index 455234c..2aa1e0e 100644 (file)
@@ -779,7 +779,9 @@ informations are stored'/>
 *'/>
       <field name='lasttext' type='const xmlChar *' info=' last text node content'/>
       <field name='lasttsize' type='unsigned int' info=' last text node size'/>
-      <field name='lasttuse' type='unsigned int' info=' last text node use'/>
+      <field name='lasttuse' type='unsigned int' info='* Per Context Debugging
+*'/>
+      <field name='debugStatus' type='int' info=' the context level debug status'/>
     </struct>
     <typedef name='xsltTransformContextPtr' file='xsltInternals' type='xsltTransformContext *'/>
     <typedef name='xsltTransformState' file='xsltInternals' type='enum'/>
index 50d662b..1bcf913 100644 (file)
@@ -771,6 +771,7 @@ xsltNumberComp(xsltStylesheetPtr style, xmlNodePtr cur) {
     prop = xsltGetNsProp(cur, (const xmlChar *)"grouping-separator",
                        XSLT_NAMESPACE);
     if (prop != NULL) {
+        comp->numdata.groupingCharacterLen = xmlStrlen(prop);
        comp->numdata.groupingCharacter =
            xsltGetUTF8Char(prop, &(comp->numdata.groupingCharacterLen));
        xmlFree(prop);