cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: [C2][VOTE] Sync C2.0 and C2.1 branches
Date Thu, 06 Sep 2001 15:19:10 GMT
Dinms,

Situation is a little bit more complex then this. See my posting 
"New Source Interface & Exception Handling Issues".
The problem is in SAXException which wraps FileNotFoundException.

I think it is needed to add "throws ProcessingException" to toSAX method and 
analyze exception in XXXXXSource.toSAX method(s) and throw ProcessingException
or ResourceNotFoundException from within body of this method.

Vadim

> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: Thursday, September 06, 2001 7:14 AM
> To: cocoon-dev@xml.apache.org
> Subject: RE: [C2][VOTE] Sync C2.0 and C2.1 branches
> 
> 
> Vadim,
> 
> Please ignore my previous e-mail....I think the inputSource is now being resolved in
setup() can
> you please add additional code there to throw ResourceNotFoundException? 
> 
> Thanks,
> dims
> 
> --- Vadim Gritsenko <vgritsenko@yahoo.com> wrote:
> > Dims,
> > 
> > I'm not sure is it yours mistake or somebody's else, but:
> > 
> > Correct exception handling is vanished from (at least) FileGenerator,
> > and may be from some other places (did not cvecked rest).
> > The problem is that instead of ResourceNotFoundException,
> > SAXException is thrown back in sitemap (and processed by 500 
> > error handler instead of 404).
> > 
> > Previously, FileNotFoundException were cought by generator.
> > Now, this piece of code is gone and FileNotFoundException is
> > wrapped into SAXException.
> > 
> > Vadim
> > 
> > 
> > > -----Original Message-----
> > > From: Davanum Srinivas [mailto:dims@yahoo.com]
> > > Sent: Wednesday, September 05, 2001 6:29 PM
> > > To: cocoon-dev@xml.apache.org
> > > Subject: Re: [C2][VOTE] Sync C2.0 and C2.1 branches
> > > 
> > > 
> > > Team,
> > > 
> > > First round of Sync is done.....The "core" should be exactly the same. Experimental
components
> > and
> > > samples are left out of C2.0. Here's a list of the items that are only in C2.1
and NOT in C2.0
> > > 
> > >  1) SiteBuilder Samples
> > >  2) SOAP Samples
> > >  3) Profiler and support files
> > >  4) XML:DB generators
> > >  5) DatabaseSelectAction.java
> > >  6) ScriptAction.java & ServerPagesAction.java
> > >  7) action.xsl and sel.xsl LogicSheets
> > >  8) CachingCIncludeTransformer and IncludeCacheValidity.java
> > >  9) JUnit based Test framework.
> > > 10) Script Action samples.
> > > 
> > > If i have made any mistakes, please bear with me and let me know, i will fix
or roll them
> > back.
> > > Please go ahead and test C2.0. Let us try to get the "Release Candidate #1"
out the door by
> > end of
> > > next week (Sep 15, 2001). 
> > > 
> > > Thanks,
> > > dims
> > > 
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> > > http://im.yahoo.com
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > 
> > 
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message