I get the following error when I attempt to apply a transformation in jboss
4.0.5.GA:

SystemId Unknown; Line #6; Column #32; Could not resolve namespace prefix:
ns2. The node will be ignored.

However, I do not receive the error when I run this in Eclipse.  I
downloaded the latest Xalan jars and copied them to the jboss/lib/endorsed
directory.  However, the same problem occurs.  What am I doing wrong with
this?

Here is the XSL file:
<xsl:transform
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance";
  version="1.0">
 
  <xsl:strip-space elements="*"/>
  <xsl:output method="xml" />
  
  <xsl:template match="@* | node()">
    <xsl:copy>
      <xsl:apply-templates select="@* | node()"/>
    </xsl:copy>
  </xsl:template>
 
  <!-- Remove these elements from the XML -->
  <xsl:template match="x"/>
  <xsl:template match="y"/>
  <xsl:template match="z"/>

</xsl:transform>
-- 
View this message in context: 
http://www.nabble.com/Could-not-resolve-namespace-prefix%3A-ns2-tp20114275p20114275.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.

Reply via email to