Skip to content
Snippets Groups Projects
Commit f4feec6d6981 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

added a cretion of ctxt->globalVars in xsltProcessUserParamInternal if

* libxslt/variables.c: added a cretion of ctxt->globalVars in
  xsltProcessUserParamInternal if missing.
Daniel
parent d844816e2169
No related branches found
No related tags found
No related merge requests found
Mon Feb 14 12:51:07 CET 2005 Daniel Veillard <daniel@veillard.com>
* libxslt/variables.c: added a cretion of ctxt->globalVars in
xsltProcessUserParamInternal if missing.
Wed Feb 9 21:58:56 CET 2005 Daniel Veillard <daniel@veillard.com>
* doc/Makefile.am doc/libxslt-api.xml doc/libxslt-refs.xml
......
......@@ -940,6 +940,8 @@
xsltTransformError(ctxt, style, NULL,
"Global parameter %s already defined\n", name);
}
if (ctxt->globalVars == NULL)
ctxt->globalVars = xmlHashCreate(20);
/*
* do not overwrite variables with parameters from the command line
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment