I think it is a bug in the XSLT, actually. I think using <xsl:element name="{name()}"/> and <xsl:attribute name="{name()}"/> is the cause of the problem. These will copy the namespace prefixes, but not the namespaces themselves. So this really ought to fail, just as if you had:
<xsl:attribute name="totally-undeclared-namespace:foo">bar</xsl:attribute>
This sounds reasonable, have you tried if it's the case? Do you know if it's spec conform? The above means, that it is possible to create stylesheets working on some XML inputs, but not all. Another reason for avoiding name() where possible as it is not namespace safe.
Joerg
-----Original Message----- From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
Joerg Heinicke dijo:
And I really wonder about this Xalan message! A not
available namespace
declaration should result in an error - and it normally does so with Xalan too, I never only get a warning.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
