* libxslt/xslt.c: fixed bug #124286 - detect invalid name on
template
+Sun Nov 2 09:07:32 PST 2003 William Brack <wbrack@mmm.com.hk>
+
+ * libxslt/xslt.c: fixed bug #124286 - detect invalid name on
+ template
+
Sun Nov 2 10:51:58 CET 2003 Daniel Veillard <daniel@veillard.com>
* Makefile.am configure.in libxslt.spec.in doc/libxslt-api.xml
if (style != NULL) style->errors++;
goto error;
} else {
+ if (xmlValidateNCName(prop,0)) {
+ xsltTransformError(NULL, style, template,
+ "xsl:template : error invalid name '%s'\n", prop);
+ if (style != NULL) style->errors++;
+ goto error;
+ }
ret->name = prop;
if (URI != NULL)
ret->nameURI = xmlStrdup(URI);