From: Loren C. <lor...@gm...> - 2009-07-07 19:36:04
|
A suggestion: Add log4j support and log the error instead of printing to standard out. import org.apache.log4j.Logger; /** The Constant logger. */ protected final static Logger logger = Logger.getLogger(XQueryGenerator.class); logger.error("Problems processing parameters", pe); On Jul 7, 2009, at 01:55 PM, Tomek Piechowicz wrote: > So, finally after suggestion from Maciej Rosiek I added some code in > XQueryGenerator.java in the begining of setup() function : > > try > { > parameterize(parameters); > } > catch(ParameterException pe) > { > System.out.println("ERROR"); > } > > after this changes I tested some simple xml query and XQueryGenerator > seems to work ok with cocoon 2.2. > > Important : I`m NOT(!) eXist developer, this is only my temporary > solution till official release of eXist with support for Cocon 2.2. > > Regards, > Tomasz Piechowicz > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited > time, > vendors submitting new applications to BlackBerry App World(TM) will > have > the opportunity to enter the BlackBerry Developer Challenge. See > full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |