* libxslt/attributes.c: Eliminated a tiny difference wrt to
the old behaviour in the naming of newly generated ns-decls
in xsltAttributeInternal().
+Tue Jun 6 11:44:34 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
+
+ * libxslt/attributes.c: Eliminated a tiny difference wrt to
+ the old behaviour in the naming of newly generated ns-decls
+ in xsltAttributeInternal().
+
Thu Jun 1 15:06:31 CEST 2006 Daniel Veillard <daniel@veillard.com>
* configure.in: fix a problem in Python detection
{
const xmlChar *basepref = prefix;
xmlChar pref[30];
- int counter = 0;
+ int counter = 1;
if (prefix != NULL)
basepref = prefix;
basepref = xmlStrdup(BAD_CAST "ns");
do {
- snprintf((char *) pref, 30, "%s_%d",
+ snprintf((char *) pref, 30, "%s%d",
basepref, counter++);
ns = xmlSearchNs(targetElem->doc, targetElem, BAD_CAST pref);
if (counter > 1000) {