commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <mouawad_phili...@yahoo.fr>
Subject Re: [PATCH] digester XML (call-param-rule)
Date Mon, 07 Oct 2002 17:42:47 GMT
 I am using version 1.3(same code in 1.2 and 1.1)

I looked at the source in CVS, the bug is not
corrected in revision 1.7 tagged DIGESTER_1_3 .


 --- "Craig R. McClanahan" <craigmcc@apache.org> a
écrit : > Which version of Digester are you using? 
There were
> several bugfixes to
> the XML rules processing since the 1.3 release --
> please try a recent
> nightly build if you are not currently using one.
> 
> Also, please submit patches in "diff -u" format, as
> requested on the
> Jakarta web site.  This facilitates accurately
> incorporating your patch
> into the Digester source code.
> 
> Craig McClanahan
> 
> 
> On Mon, 7 Oct 2002, Philippe Mouawad wrote:
> 
> > Date: Mon, 7 Oct 2002 10:03:40 +0200 (CEST)
> > From: Philippe Mouawad <mouawad_philippe@yahoo.fr>
> > Reply-To: Jakarta Commons Developers List
> <commons-dev@jakarta.apache.org>
> > To: commons-dev@jakarta.apache.org
> > Subject: [PATCH] digester XML (call-param-rule)
> >
> > I found a bug in the digester.
> > It happens when you use the rules written in xml
> > instead of writing them in the code (see code
> below).
> > The bug happens when you use "<call-param-rule />"
> in
> > the xml file.
> >
> > try
> > {
> > FileInputStream fis = new
> > FileInputStream(configFileName);
> > // the file "config-rules.xml" contains rules
> written
> > //in xml
> > URL url =
> getClass().getResource("config-rules.xml");
> > BatchContext config =  (BatchContext)
> > DigesterLoader.load(url,
> getClass().getClassLoader(),
> > fis, this);
> > fis.close();
> > }
> > catch(DigesterLoadingException dle)
> > {
> > throw new BatchException(dle);
> > }
> > catch (SAXException ioe)
> > {
> > ioe.printStackTrace();
> > throw new BatchException(ioe);
> > }
> > catch (IOException ioe)
> > {
> > throw new BatchException(ioe);
> > }
> >
> >
> >
> >
>
___________________________________________________________
> > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite
> et en français !
> > Yahoo! Mail : http://fr.mail.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message