I am using this identity transformation under Cocoon
2.1.9 and Java 1.5:

  <xsl:template match="*">
   <xsl:element name="{name()}"
namespace="{namespace-uri()}">
     <xsl:apply-templates select="@*|node()" />
   </xsl:element>
  </xsl:template>
  <xsl:template match="@*">
    <xsl:attribute name="{name()}"
namespace="{namespace-uri()}">
     <xsl:value-of select="." />
    </xsl:attribute>
  </xsl:template>

The template is designed to remove namespaces. 
Anyway, under Java 1.4, everything works fine. 
However, when I switched to Java 1.5, I receive a
TransformerException. 

I have verified that the template works fine with Java
1.5 and the xalan transformation engine.  For some
reason, when Cocoon is involved, the error occurs.

Does anyone have any suggestions about where I would
start looking to figure out what is going on?  Can
anyone with a similar environment run this template to
verify they have the same problem?

Regards,

JF



 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to