The XSLT namespace string is a constant one
authorDaniel Veillard <veillard@redhat.com>
Fri, 7 Sep 2012 04:23:14 +0000 (12:23 +0800)
committerDaniel Veillard <veillard@redhat.com>
Fri, 7 Sep 2012 04:23:14 +0000 (12:23 +0800)
Raised by Phil Shafer <phil@juniper.net>

libxslt/xslt.h

index 13a68be..532ae3c 100644 (file)
@@ -43,7 +43,7 @@ extern "C" {
  *
  * The XSLT specification namespace.
  */
-#define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform")
+#define XSLT_NAMESPACE ((const xmlChar *)"http://www.w3.org/1999/XSL/Transform")
 
 /**
  * XSLT_PARSE_OPTIONS: