Hi Cocooners, I'm just wondering, whether an option for an alternate error processing in aggregation would be useful.
I'm typically using a sitemap setup like the following. The sidebar.xml file contains navigational information. <map:match pattern="**/*"> <map:aggregate element="page"> <map:part src="{1}/{2}.xml"/> <map:part element="sidebar" src="{1}/sidebar.xml"/> </map:aggregate> .... Some CVS heads ago, I would receive an exception on the browser, when sidebar.xml was not available. Now the exception only shows up in the log files. However there is a noticable delay for the exception handling. I'm wondering now, if a selectable attribute to "map:part" would usefull, which would specify, that map:part should immediately return with an error element when the src is not available. Staying with the above example something like: <sidebar> <error>file xxxx/sidebar.xml not found.</error> </sidebar> For me personally I would find this behaviour in connection with the DirectoryGenerator usefull (file name <=> document title mapping). Am I making sense? I've poked into the sources, unfortunatly I'm not in the position to supply a simple patch (would setup() and/or generate() in sitemap/ContentAggregator.java be the right location?). Or are there other means to achieve the desired behaviour. I think the documentation doesn't mention anything. -- MfG/Regards Frank Ridderbusch Since I have taken all the Gates out of my computer, it finally works!! --------------------------------------------------------------------- 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]>