Hi

This is a strange one...and I didn't find the answer in the FAQ or the
mail archives, so I'm asking the list. I have two Cocoon-driven webapps
running on the same Tomcat/Apache installation. One is just a bare-bones
install of the Cocoon distro, the other actually contains application
code. The webapp with the application code inserts "xmlns:" attributes
into every tag in an XSP! For instance, I commented out the XSLT directive
in the XSP sample (samples/xsp/page.xml) and this is what it produced:

-----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd";>
<page xmlns:xml="http://www.w3.org/XML/1998/namespace";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>
  <title xmlns:xml="http://www.w3.org/XML/1998/namespace";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>First XSP Page</title>
  <author xmlns:xml="http://www.w3.org/XML/1998/namespace";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>
   <name xmlns:xml="http://www.w3.org/XML/1998/namespace";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>Stefano Mazzocchi</name>
   <address xmlns:xml="http://www.w3.org/XML/1998/namespace";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>[EMAIL PROTECTED]</address>
  </author>

  <p xmlns:xml="http://www.w3.org/XML/1998/namespace";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>Hi, I'm your first XSP
page ever.</p>
-----

The other Cocoon webapp - running in the same JVM - doesn't do this.  I
diffed the cocoon.properties files and the only differences are in the
connection pool setups.

I actually do need to solve this problem to conform to an interface
specification.

Thanks,

JLS


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to