From: William M. Brack Date: Wed, 13 Jul 2005 23:21:23 +0000 (+0000) Subject: fixed to set current default value for XInclude when creating new X-Git-Tag: v1.1.28~294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9174e235d142609eb39330cd2e44b17452cefb75;p=platform%2Fupstream%2Flibxslt.git fixed to set current default value for XInclude when creating new * libxslt/transform.c: fixed to set current default value for XInclude when creating new TransformContext * libxslt/xslt.c: minor change for per-mille --- diff --git a/ChangeLog b/ChangeLog index 781f06b..5c654e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Jul 13 16:16:31 PDT 2005 William Brack + + * libxslt/transform.c: fixed to set current default value for + XInclude when creating new TransformContext + * libxslt/xslt.c: minor change for per-mille + Sun Jul 10 16:17:53 CEST 2005 Daniel Veillard * libxslt/xsltwin32config.h*: try to avoid generating conflicts diff --git a/libxslt/transform.c b/libxslt/transform.c index 7e3f33a..38618d1 100644 --- a/libxslt/transform.c +++ b/libxslt/transform.c @@ -474,6 +474,7 @@ xsltNewTransformContext(xsltStylesheetPtr style, xmlDocPtr doc) { cur->sec = xsltGetDefaultSecurityPrefs(); cur->debugStatus = xslDebugStatus; cur->traceCode = (unsigned long*) &xsltDefaultTrace; + cur->xinclude = xsltGetXIncludeDefault(); return(cur); } diff --git a/libxslt/xslt.c b/libxslt/xslt.c index 4f57888..3d0b054 100644 --- a/libxslt/xslt.c +++ b/libxslt/xslt.c @@ -181,7 +181,8 @@ static xsltDecimalFormatPtr xsltNewDecimalFormat(xmlChar *name) { xsltDecimalFormatPtr self; - static xmlChar permille[4] = {0xe2, 0x80, 0xb0}; /* UTF8 for 0x2030 */ + /* UTF-8 for 0x2030 */ + static const xmlChar permille[4] = {0xe2, 0x80, 0xb0, 0}; self = xmlMalloc(sizeof(xsltDecimalFormat)); if (self != NULL) {