I have a java class that takes data from a backend database plus some xls does the transform and returns the generated xhtml.
I have just discovered that when executing the class under Tomcat 5.5 I get what I expected but when executing the class under Jboss4.2 it changes one of the transformed lines.
The xsl for this line is:
-
<xsl:template match="GENOGRAM">
-
<html>
-
<head>
-
<title>Ebase Technology - Genogram</title>
-
<link href="avatar/css/genogram/genogram.css" rel="stylesheet" type="text/css"/>
-
</head>
-
<body>
The line that is transformed differently in Jbos is the stylesheet link
e.g.
Running in Jboss I get this transformation:
- <link type="text/css" rel="stylesheet" href="avatar/css/genogram/genogram.css">
Running in Tomcat it transforms like this:
- <link href="avatar/css/genogram/genogram.css" rel="stylesheet" type="text/css" />
You will notice that the "text/css" and href have been switched.
Any clues as to why this is happining would be most welcome.