xsl:namespace-alias in Xalan

Subject: xsl:namespace-alias in Xalan
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Fri, 11 Aug 2000 03:20:42 +0200
Hi,


I have trouble using the <xsl:namespace-alias> element in Xalan; for
example:

<xsl:transform
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"

xmlns:x="mailto:julian.reschke@xxxxxxxxxxxxx?subject=gen-xslt-from-xdr.xslt";
	xmlns:s="urn:schemas-microsoft-com:xml-data"
	exclude-result-prefixes="s"
>

<xsl:output omit-xml-declaration="yes" indent="yes" />

<xsl:namespace-alias stylesheet-prefix="x" result-prefix="xsl"/>

<xsl:template match="/">
	<x:transform />
</xsl:template>


</xsl:transform>

gives

<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; />

both in MSXML3 and Saxon, but Xalan (C++ version) produces:

<x:transform xmlns:s="urn:schemas-microsoft-com:xml-data"/>


So,

a) exclude-result-prefixes doesn not work (and Xalan issues a warning),

b) the transform element is put into a namespace with name "x", but the
namespace is not declared.


Where can I find a list of open conformance problems for Xalan?


Julian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread