+Mon Mar 4 18:09:48 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/namespaces.c tests/general/bug-63.out: small fixups
+ related to the XPath changes in fixing #61290
+
Mon Mar 4 12:57:21 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/pattern.c: fixed bug #73363, bad tokenization of
node = NULL;
while (cur != NULL) {
+ if (cur->type != XML_NAMESPACE_DECL)
+ break;
if (!xmlStrEqual(cur->href, XSLT_NAMESPACE)) {
/* TODO apply cascading */
URI = (const xmlChar *) xmlHashLookup(ctxt->style->nsAliases,
<?xml version="1.0"?>
-<namespace><name>xsl</name><uri>http://www.w3.org/1999/XSL/Transform</uri><parent/></namespace><namespace><name>xml</name><uri>http://www.w3.org/XML/1998/namespace</uri><parent/></namespace>
+<namespace><name>xsl</name><uri>http://www.w3.org/1999/XSL/Transform</uri><parent><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:template match="*">
+<xsl:for-each select="namespace::*">
+<namespace>
+<name><xsl:value-of select="name()"/></name>
+<uri><xsl:value-of select="."/></uri>
+<parent><xsl:copy-of select=".."/></parent>
+</namespace>
+</xsl:for-each>
+</xsl:template>
+</xsl:stylesheet></parent></namespace><namespace><name>xml</name><uri>http://www.w3.org/XML/1998/namespace</uri><parent><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:template match="*">
+<xsl:for-each select="namespace::*">
+<namespace>
+<name><xsl:value-of select="name()"/></name>
+<uri><xsl:value-of select="."/></uri>
+<parent><xsl:copy-of select=".."/></parent>
+</namespace>
+</xsl:for-each>
+</xsl:template>
+</xsl:stylesheet></parent></namespace>