H
harryajh
Using xalan 2.7.1 on Tomcat 5.5 & Weblogic 9.2 but I get different
results even though the same web app is deployed to each. The trouble
is the following xslt produces "<xsl:" tags on WL but "<xslt:" tags
(which is what I would expect!) on tomcat
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xslt="http://www.w3.org/1999/XSL/TransformAlias" version="1.0"
xmlns:gor="uk.gov.ea.gor.cache.GORCache">
<xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
<xsl:template match="/">
<xslt:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml">
<xslt
utput method="xml" doctype-public="-//W3C//DTD XHTML 1.0
Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd"/>
<xslt:template match="/">
..
produces
<?xml version="1.0" encoding="UTF-8"?>
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:gor="uk.gov.ea.gor.cache.GORCache" version="1.0">
<xslt
utput doctype-system="http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0
Transitional//EN" method="xml"/>
<xslt:template match="/">
..
on Tomcat 5.5 BUT
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
Transform" xmlns:gor="uk.gov.ea.gor.cache.GORCache" xmlns="http://
www.w3.org/1999/xhtml">
<xsl
utput method="xml" doctype-public="-//W3C//DTD XHTML 1.0
Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd"/>
<xsl:template match="/">
..
on Weblogic 9.2
I'm using XSLT extension functions but can't believe this is anything
to do with it?
Can anyone shed some light on this? this is totally bizarre, how can
the same code produce different results? - is there something
different picked up from the environment perhaps? also noticed the
<stylesheet> attributes are generated in different orders also!
thanks in advance
harry
results even though the same web app is deployed to each. The trouble
is the following xslt produces "<xsl:" tags on WL but "<xslt:" tags
(which is what I would expect!) on tomcat
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xslt="http://www.w3.org/1999/XSL/TransformAlias" version="1.0"
xmlns:gor="uk.gov.ea.gor.cache.GORCache">
<xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
<xsl:template match="/">
<xslt:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml">
<xslt
Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd"/>
<xslt:template match="/">
..
produces
<?xml version="1.0" encoding="UTF-8"?>
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:gor="uk.gov.ea.gor.cache.GORCache" version="1.0">
<xslt
xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0
Transitional//EN" method="xml"/>
<xslt:template match="/">
..
on Tomcat 5.5 BUT
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
Transform" xmlns:gor="uk.gov.ea.gor.cache.GORCache" xmlns="http://
www.w3.org/1999/xhtml">
<xsl
Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd"/>
<xsl:template match="/">
..
on Weblogic 9.2
I'm using XSLT extension functions but can't believe this is anything
to do with it?
Can anyone shed some light on this? this is totally bizarre, how can
the same code produce different results? - is there something
different picked up from the environment perhaps? also noticed the
<stylesheet> attributes are generated in different orders also!
thanks in advance
harry