1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

applied fix from Bjorn Reese to close number formatting bug #126994 Daniel

* libxslt/preproc.c: applied fix from Bjorn Reese to close
  number formatting bug #126994
Daniel
This commit is contained in:
Daniel Veillard
2003-11-14 23:00:49 +00:00
parent 7afdb3d0d0
commit b3d078b366
3 changed files with 9 additions and 1 deletions

View File

@ -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

View 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'/>

View 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);