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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user