cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: problem with blank java files for xsp/serverpages
Date Wed, 13 Feb 2002 18:17:12 GMT
This issue is fixed in the Cocoon CVS. Error message returned now looks
like:

"This page is not valid page of this markup langugage. Root element is:
http://www.apache.org/1999/XSP/Core:page, must be:
http://apache.org/xsp:page"

Which means that your page's root element is
  <ns:page xmlns:ns="http://www.apache.org/1999/XSP/Core"/>

instead of
  <ns:page xmlns:ns="http://apache.org/xsp"/>


Regards,
Vadim

> -----Original Message-----
> From: David Stenglein [mailto:dave@sputnik7.com]
> Sent: Wednesday, February 13, 2002 1:04 PM
> To: cocoon-users@xml.apache.org
> Subject: problem with blank java files for xsp/serverpages
> 
> Greetings,
> 
> I've been having a strange problem with xsps that give a
NoClassDefFound
> because the jave file is nearly empty (4 newlines). I've been testing
> lots of different combinations of tomcat (3.2.3, 4.0) java (1.3.0,
> 1.3.1) and cocoon (2.0, 2.0.1) and it doesn't work anywhere. It
> specifically seems to be hapening when I mount a subsitemap.
> 
> I have attached a zip file with a sub directory containing the sitemap
> and the xsp. I added the following to a stock 2.0.1 sitemap:
> 
> 
>                 <map:pipeline>
>                         <map:match pattern="break/**">
>                                 <map:mount uri-prefix="break"
> src="break/" check-reload="yes" />
>                         </map:match>
>                 </map:pipeline>
> 
> 
> When I request break/test it does the NoClassDefFound and leaves the
> .java with 4 newlines in the work directory.  If you copy the sitemap
> entries and the xsp to the top level, it seems to work fine.
> 
> What is this??
> 
> -Dave
> 



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message