cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@apache.org>
Subject Re: error response broken?
Date Tue, 26 Mar 2002 10:46:22 GMT
From: "Piroumian, Konstantin" <KPiroumian@flagship.ru>

> > From: Jeremy Quinn [mailto:jermq@media.demon.co.uk]
> >
> > Dear All,
> >
> > I have noticed a big change in the way Cocoon responds to
> > errors caused by
> > you putting mal-formed xml into a field in <slash-edit/>.
> >
> > Up until a week ago (I got a bit behind CVS) Cocoon would
> > respond with a
> > normal message like:
> >
> > Original exception : org.xml.sax.SAXParseException: The element type
> > "title" must be terminated by the matching end-tag "</title>".
> >
> > etc.
> >
> > Now it says things like:
> >
> > Original exception : java.io.FileNotFoundException:
> > /Users/jermq/Library/TomCat/webapps/cocoon/stylesheets/simple-
> > page2html.xsl
> > (No such file or directory)
> >
> > Which is strange.

Try commenting out the transformation in the handle-errors and serializing
to xml, you will always see the error.

> I'm getting something similar for JSP sample pages. And also couldn't get
> correct error message for the i18n samples (it was also
> FileNotFoundException while the files was there for sure).

Cocoon has problems on some errors, and

> >You can replicate it by running <slash-edit/> and making a new file in
the
> >Alpha Editor, then make the new XML invalid and submit.
> >
> >Any ideas what might have got changed to cause this?
> >It seems like the sitemap is getting lost ;)
>
> And this happened during last week. Last week version from CVS worked just
> fine.

I'll look into it, but right now I haven't got a clue :-/

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message