The empty string should be returned, see bug #631803.
} else {
valuePush(ctxt, xmlXPathNewString((const xmlChar *)""));
}
- }
+ } else {
+ valuePush(ctxt, xmlXPathNewString((const xmlChar *)""));
+ }
if (name != NULL)
xmlFree(name);
if (prefix != NULL)
--- /dev/null
+<?xml version="1.0"?>
+<result/>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+ exclude-result-prefixes="msxsl"
+ version="1.0">
+ <xsl:template match="/">
+ <result>
+ <xsl:value-of select="system-property('msxsl:version')"/>
+ </result>
+ </xsl:template>
+</xsl:transform>