Re: Tomcat 4.0 -- JSP XML representation problems

2000-11-15 Thread Boyd Waters
Pierre Delisle wrote: I cannot really use the XML representation, because the jsp:cdata tag doesn't work with current Tomcat-4.0-devel. I get classCastExceptions if I try to use this tag. But you could still use ![CDATA[ ... ]] for your CDATA. jsp:cdata should be in tomcat-4.0

Re: Tomcat 4.0 -- JSP XML representation problems

2000-11-15 Thread Hans Bergsten
Boyd Waters wrote: [...] One problem remains: I cannot emit a well-formed XML document because there are leading blank lines. Consider this document: ?xml version="1.0" encoding="UTF-8"? jsp:root xmlns:jsp ="http://java.sun.com/jsp_1_2" ![CDATA[ ?xml version="1.0" encoding="UTF-8"?

Tomcat 4.0 -- JSP XML representation problems

2000-11-14 Thread Boyd Waters
Howdy... Tomcat 4.0 attempts to conform to the JSP 1.2 spec. JSP 1.2 specifies an XML representation for JSP pages. One is supposedly able to use the original syntax, or the new XML rep, but one CANNOT inter-mingle XML and the original syntax in the 1.2 spec. People, this is *awful*. All of my

Re: Tomcat 4.0 -- JSP XML representation problems

2000-11-14 Thread Pierre Delisle
Boyd, I cannot really use the XML representation, because the jsp:cdata tag doesn't work with current Tomcat-4.0-devel. I get classCastExceptions if I try to use this tag. But you could still use ![CDATA[ ... ]] for your CDATA. jsp:cdata should be in tomcat-4.0 befroe the end of the

Re: Tomcat 4.0 -- JSP XML representation problems

2000-11-13 Thread Boyd Waters
Boyd Waters wrote: It's actually worse than this, because my site uses XHTML -- the HTML pages are XML documents. I need Tomcat to emit XML, *INCLUDING* the DOCTYPE declaration. So by way of winding down this rant, has anyone been able to use the XSL taglib with Tomcat 4.0? Or any XML at