Many users has opinions about the Fault handling in Cocoon, and most, users and developers alike, agree it is not very good.
I suggest that you bring it up for discussion on cocoon-dev instead, as many developers don't monitor this list. BTW, it would be great to have a "most wanted" list from the users, for the developers to seek inspiration from. Note; Too much flexibility (Flexibility Syndrome = It can be done, therefor do it) is not appreciated, and will be rejected. Niclas On Thursday 13 February 2003 00:04, Ben Young wrote: > In my current work with the aggregation option in Cocoon 2.0.4 it seems > that the aggregation options are not very fault tolerant. If one of the > map:part's of my map:aggregate section points to a file that does not > exist, all map:part's after that one do not get returned even if their > files exist. > > With a cinclude transformer the error is a bit worse. If the file requested > does not exist in the pipeline, I get a NullPointerException from line 180 > in the CIncludeTransformer.java. That line contains the source.recycle() > call. Since the source is never created, there is nothing to recycle. Hence > the error. <breath/> > > Would it be possible to make the map:aggregate continue on it's merry way > even if one of the map:part's doesn't resolve to anything? > > Would it also be possible to add some fault tolerance to the > CincludeTransformer? It seems to that the cinclude's done using the > cocoon:// protocol don't follow any map:redirect-to's. That's probably > somewhat unrelated, but worth mentioning I guess. 8o) > > Thank you for your thoughts and time, > Ben > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>