1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00

- libxslt/Makefile.am libxslt/template.[ch]: added a template

specific module. Added attribute value template, at least in
  one spot.
- tests/REC2/Makefile.am tests/REC2/svg.xml: the SVG test from
  the spec now works too.
- libxslt/variables.c: fixed the debug
- libxslt/xslt.c: fixed an ugly uninitialized variable
- libxslt/transform.c: now using attr template processing
Daniel
This commit is contained in:
Daniel Veillard
2001-01-20 22:40:37 +00:00
parent 6b5e9df67f
commit 007037dd75
9 changed files with 354 additions and 25 deletions

View File

@@ -713,7 +713,7 @@ xsltParseStylesheetTop(xsltStylesheetPtr style, xmlNodePtr top) {
if (top == NULL)
return;
prop = xmlGetNsProp(cur, (const xmlChar *)"version", XSLT_NAMESPACE);
prop = xmlGetNsProp(top, (const xmlChar *)"version", XSLT_NAMESPACE);
if (prop == NULL) {
xsltGenericError(xsltGenericErrorContext,
"xsl:version is missing: document may not be a stylesheet\n");