1 Reply Latest reply on Dec 21, 2007 9:33 AM by Vinicius Carvalho

    JBoss + Xerces + Xalan ... lots of problems

    Vinicius Carvalho Apprentice

      Hello there! I'm living a nightmare with xml-apis....
      I have a transformation that works fine in my eclipse test cases:

      What I need is to copy the id from header to customer. Well hereÅ› the xsl:
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <xsl:stylesheet version="1.0"
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
      <xsl:template match="//customer/id">
       <xsl:variable name="idc" select="//payload/customer/id"/>
       <id><xsl:value-of select="$idc"/><id>
      <xsl:template match="*">
       <xsl:apply-templates select="@*"/>
       <xsl:apply-templates select="node()"/>

      Well, when deployed on jboss it does not work .
      So I've ran my tests using the endorsed libs from jboss, well it really does not work with those xerces/xalan versions:(
      Trying to start without the endorsed overriding mechanism from jboss, throws exceptions about xerces classes (hum, aren't they loaded by the bootstrap classloader from the JVM???).

      It's really hard to figure which version o xalan do I need to get it working. I've already ask this at their list, and I'm stuck with this for over 2 days now. I've tried JDK 6.0, which really works, but since I'm using jbossws, I'm having issues with jaxb :(

      anyone could point me a solution?

      Best regards