If I tried without <map:transform ...> Tag there is the old error:
org.apache.cocoon.ProcessingException: SAXException JspGenerator.generate():
org.xml.sax.SAXParseException: The root element is required in a well-formed
document.

I 'm thinking, the JSP-Generator-Output is not well-formed. But if you see
the code in my first posting - it's well-formed.

<%@ page language='java' session='false'%>

<%! 
public void jspInit()
{ ... }
%>
<page>
        <jsp:include page="start_1.jsp" flush="true" />
</page>

The file start_1.jsp is also well-formed:
<content>
        <para>Test</para>
</content>

It is possible, that the JSP-Generator ignore the last </page> Tag.

If I try this example with Tomcat 4.0.1 in a *.war-file an IE 5.5 as a
client (without XSL-Stylesheet), the IE shows well-formed XML.

Should I specify a special jsp-Directory in a Config-file?

gruss
christian

> -----Ursprüngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 30. Januar 2002 16:38
> An: [EMAIL PROTECTED]
> Betreff: RE: JSP-Generator-problem
> 
> 
> > From: Bucholdt, Christian [mailto:[EMAIL PROTECTED]]
> > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Mittwoch, 30. Januar 2002 15:46
> > > An: [EMAIL PROTECTED]
> > > Betreff: RE: JSP-Generator-problem
> > >
> > >
> > > Localize the problem first. Does it work without
> > >
> > >   <map:transform src="stylesheets/page/simple-page2html.xsl"/>
> > >
> > > ?
> > 
> > If I change the <map:transform ...> Tag like on top.
> > The Error changes also:
> 
> I copied this line from your email. REMOVE this line. Try WITHOUT it.
> Have only generate and serialize in your pipeline. Does it work?
> 
> Vadim
> 
> 
> ---------------------------------------------------------------------
> 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]>
> 

---------------------------------------------------------------------
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