cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sal Mangano" <>
Subject Bizaro Problem
Date Fri, 13 Aug 2004 02:04:05 GMT

Has anyone experienced a problem with xalan 2.6.0 + cocoon xhtml serializer
that results in opening tags without namespace prefixes and closing tags
with! Here is a snipet of actual output I am getting: 

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
	<!-- Snip -->
    <table id="topads" cellspacing="0">
          <td class="ad" rowspan="1" colspan="1">
            <div class="ad" id="adtop1"><xhtm:a href="ads/click?bannerID=11"
class="ad-link" id="ad-link-11" target="_blank"
src="ads/images/11.gif" alt="OSE" class="ad-img" id="ad-img-11"
	<!-- Snip -->

Here is more info:

I am using Coccoon 2.1.5 with Saxon 7.7 and Xalan 2.6.0 on Windows 2003
Server. I play the game of renaming saxon7.jar to z_saxon7.jar so as to
avoid the problem with the saxon dom being read only. This works but it
leads directly to the above issue. Without the rename I don't get this
nonsense but with it I do. This leads me to belive that in the cases where
cocoon picks up the default xslt transform and gets xalan it is going nuts. 

To make matters worse, this works fine on my dev box which is Windows 2000
(not server). I have a nagging feeling the prod box may be running Tomcat
5.x while my dev box has 4.1.3. I can't confirm that now because I can't
access the prod box where I am at the moment. Anyway, if anyone has seen
something like this under any configuration please let me know. 
Sal Mangano
Into Technology Inc.

Use XSLT? Try the XSLT Cookbook  

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message