Re: [digester] Multiple paths mapped to one object

2014-03-12 Thread Simone Tripodi
Auftrag von Simone Tripodi Gesendet: Donnerstag, 6. März 2014 16:43 An: Commons Users List Betreff: Re: [digester] Multiple paths mapped to one object Hi Jan, could you submit a testcase, please? I will have a look at it and get back with a solution ASAP :) Alles Gute, -Simo http

Re: [digester] Multiple paths mapped to one object

2014-03-10 Thread Simone Tripodi
-test.zip I didn't comment it at all, but tried to give it speaking names. Looking forward for your feedback. Thank you for your help so far! Jan -Ursprüngliche Nachricht- Von: simone.trip...@gmail.com [mailto:simone.trip...@gmail.com] Im Auftrag von Simone Tripodi Gesendet: Donnerstag

Re: [digester] Multiple paths mapped to one object

2014-03-06 Thread Simone Tripodi
Hi Jan, there's no kind of magic, just annotate the class fields as: @ObjectCreate.List(value = { @ObjectCreate(pattern = */HTABLE), @ObjectCreate(pattern = */VTABLE), @ObjectCreate(pattern = */XTABLE) }) public class Table { @SetProperty // you can omit the

Re: [digester] Multiple paths mapped to one object

2014-03-06 Thread Simone Tripodi
...@gmail.com [mailto:simone.trip...@gmail.com] Im Auftrag von Simone Tripodi Gesendet: Donnerstag, 6. März 2014 12:05 An: Commons Users List Betreff: Re: [digester] Multiple paths mapped to one object Hi Jan, there's no kind of magic, just annotate the class fields as: @ObjectCreate.List

Re: [digester] XML rules, set-properties-rule, and ignoring missing properties

2014-02-28 Thread Simone Tripodi
Hi Paul, thanks a lot for reporting, very appreciated. Can you fill a JIRA issue for that? As a Digester best practice, I suggest you to not go through the XML rules definition but, if you need a more compact way to express rules, refer to rules binder, which is pretty faster than mapping the

Re: [digester] Annotations handled multiple times

2013-05-28 Thread Simone Tripodi
Hi Lars, please apologize for the late reply - could you please submit a testcase that proves the bug and fill an issue on JIRA? Many thanks in advance, all the best! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi

Re: [fileupload] Expected encoding for Content-disposition 'filename' parameter

2013-03-12 Thread Simone Tripodi
Hi Jaime, FILEUPLOAD-199 has been fixed on trunk, do you have the chance to give a try with current development version, by recompiling it by yourself? Many thanks in advance, all the best! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/

Re: [digester] wildcard in plugin rules

2013-02-21 Thread Simone Tripodi
Hi Lianna, please apologise for the late reply - I am quiet busy at work during these months. The sample you provided is not clear to me, there are details I can't immagine how they are implemented, I suggest you anyway to have a look at the TestCase implementation I gave for you[1], both tests

Re: SSL Self-signed certificate problem JDK1.5

2012-09-10 Thread Simone Tripodi
Hi Susanta, The commons-httpclient is no longer maintained as commons component, it has a new home at HTTPComponents in ASF - I suggest you posting the question in the proper ML[1]. HTH, -Simo [1] http://hc.apache.org/httpclient-3.x/mail-lists.html http://people.apache.org/~simonetripodi/

Re: [VFS] SCM File System Support?

2012-08-30 Thread Simone Tripodi
I like the idea! while for git there's Jgit[1] available - EPL licensed that's ALv2 license compatible - for svn the only pure svn java library that I know is svnkit which has a more restrictive TMate license[2] and I am not sure it is ALv2 compatible since not mentioned in category A

Re: Apache commons validator, bean properties to validate should all be string?

2012-08-20 Thread Simone Tripodi
I would suggest you to have a look at Apache BVal[1] for Bean Validation - it is a JSR303 implementation - that sounds more appropriate for your use case. HTH, -Simo [1] http://bval.apache.org/ http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/

Re: errors parsing soap

2012-07-25 Thread Simone Tripodi
Hi Terry, could you share please your Digester configuration, please? That would be easier for me to provide feedbacks! TIA, all the best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Jul

[ANN] Apache Commons DbUtils 1.5 Released!

2012-07-21 Thread Simone Tripodi
Hi all, The Apache Commons Team is pleased to announce the immediate availability of Apache Commons DbUtils 1.5! The Apache Commons-DbUtils package is a set of Java utility classes for easing JDBC development, version 1.5 contains a number of improvements and bug fixes: Bug [DBUTILS-73] -

Re: Digester crashes in run mode and succeeds with java debugger

2012-07-16 Thread Simone Tripodi
Hi Stepan, I guess that in debug mode, inside your IDE JVM, the invoked method is public void setFf(String date); OTOH, when running from console, log clearly show that JVM invokes public void setFf(Date date); You have two options: * drop the Date argument support (less good, IMHO); * Rely

Re: [digester] Reading in Enums

2012-07-06 Thread Simone Tripodi
Hi Neil, apologize for the late reply - the Digester relies on BeanUtils to perform text to Java object unmarshalling, so for your enumeration(s) type you have to plug the needed converter. Have a look at Data Type Conversions[1] to understand how to convert the extracted XML body text to

Re: [digester3] - can DigesterLoader instance be shared?

2012-03-14 Thread Simone Tripodi
Thanks a lot for the feedbacks Torsten, as I commented in the issue, it would be really helpful if you could attach a testcase to reproduce the issue, in order to looking forward to a possible fix. Many thanks in advance! -Simo http://people.apache.org/~simonetripodi/

Re: [digester3] - can DigesterLoader instance be shared?

2012-03-13 Thread Simone Tripodi
Hi Torsten, yes, a configured loader instace can be shared across multiple components in the application, just create new Digester instance every time you have to perform a parse (or put them in a pool of digesters to save resources) HTH, -Simo http://people.apache.org/~simonetripodi/

Re: parse xml Tag with same attributes

2012-03-13 Thread Simone Tripodi
Hi Ramin, I would really like to help you but apologize, it is really hard for me reading that code embedded in email - could you please paste somewhere such as pastebin/gist? TIA, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/

Please don't update public site on SVN

2012-03-09 Thread Simone Tripodi
Hi all, I asked INFRA to enable SvnPubSub (see INFRA-4513) they asked to wait on updating the site until they will have few infra issues solved. TIA, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/

Re: Please don't update public site on SVN

2012-03-09 Thread Simone Tripodi
March 2012 10:08, Simone Tripodi simonetrip...@apache.org wrote: Hi all, I asked INFRA to enable SvnPubSub (see INFRA-4513) they asked to wait on updating the site until they will have few infra issues solved. Wrong list; INFRA-4513 is about Cocoon. TIA, -Simo http://people.apache.org

Re: [DbUtils] Could AsyncQueryRunner be a wrapper around a QueryRunner?

2012-02-11 Thread Simone Tripodi
Hi Moandji, the ML is not the right place where attaching patches, can you please fill an issue on JIRA? TIA! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Sat, Feb 11, 2012 at 8:53 AM, Moandji

[ANNOUNCE] Apache Commons Validator-1.4.0 released!

2012-02-03 Thread Simone Tripodi
The Apache Commons PMC is pleased to announce the Apache Commons Validator-1.4.0 release! The Apache Commons Validator component provides the building blocks for both client side validation and server side data validation. Changes in this version include: New features: o New generic

Re: [DbUtils] Returning the newly-generated primary key after an insert

2012-02-01 Thread Simone Tripodi
Thanks! I should be able to make some time to make any necessary changes, like adding JavaDoc, a few more unit tests, etc. Moandji thanks, that would be really appreciated! best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/

Re: [DbUtils] Returning the newly-generated primary key after an insert

2012-01-31 Thread Simone Tripodi
Hi Moandji, I had a quick look at the patch and IMHO it looks good. I assigned the issue to Bill who's more deep inside DbUtils than me :) All the best and thanks for contributing! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/

Re: [DbUtils] Returning the newly-generated primary key after an insert

2012-01-29 Thread Simone Tripodi
Hi Bill, we could manage at least the generated keys, using Statement#getGeneratedKeys()[1], requiring a non null ResultSetHandler. To not break APIs backward compatibility, that could be a new set of APIs... WDYT? best, -Simo [1]

Re: [dbutils] Mapping from JPA annotations

2012-01-19 Thread Simone Tripodi
I personally use MyBatis[1] - which is DbUtils with superpowers -Simo [1] http://www.mybatis.org http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Thu, Jan 19, 2012 at 9:28 PM, Moandji Ezana

Re: [dbutils] Mapping from JPA annotations

2012-01-19 Thread Simone Tripodi
On Thu, Jan 19, 2012 at 9:34 PM, Gary Gregory garydgreg...@gmail.com wrote: On Thu, Jan 19, 2012 at 3:32 PM, Simone Tripodi simonetrip...@apache.orgwrote: I personally use MyBatis[1] - which is DbUtils with superpowers MyBatis does not have super powers, you have super powers Simo ;) lol

Re: [ANNOUNCEMENT] Apache Commons Codec 1.6 is now available

2011-12-07 Thread Simone Tripodi
congrats Gary!!! all the best, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Wed, Dec 7, 2011 at 6:53 PM, Gary Gregory ggreg...@apache.org wrote: The Commons Codec team is pleased to announce the

[ANNOUNCEMENT] Apache Commons Digester 3.1 released!

2011-10-29 Thread Simone Tripodi
The Apache Commons community is pleased to announce the Apache Commons Digester 3.1 release! The Apache Commons Digester package lets you configure an XML to Java object mapping module which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized.

Re: Digester rules problem.

2011-10-06 Thread Simone Tripodi
Hi Eric, I can provide you the solution but I'll be busy for the whole morning. Please wait I'll send you the hints ASAP. All the best, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Thu, Oct 6, 2011 at 5:02 AM, Eric Chow eric...@gmail.com wrote: Hello, response

Re: Digester rules problem.

2011-10-06 Thread Simone Tripodi
an xpath-like string, I am wondering if there is a way (or a rule) which allows using full xpath syntax (Eric could have used something like response/attribute[@name='ip' ]). Is there any Rule implementation about this specific topic? Maurizio Cucchiara On 6 October 2011 09:40, Simone

Re: problem with SetPropertyRule

2011-09-26 Thread Simone Tripodi
From: Simone Tripodi simonetrip...@apache.org To: Commons Users List user@commons.apache.org Sent: Sunday, 25 September 2011 8:53 PM Subject: Re: problem with SetPropertyRule Hi Tushar, looks like you misinterpreted the SetProperty rule, read the javadoc[1

Re: problem with SetPropertyRule

2011-09-25 Thread Simone Tripodi
Hi Tushar, looks like you misinterpreted the SetProperty rule, read the javadoc[1] for its description. What would fit for your case is the SetPropertiesRule[2], so your code should be changed to private static void addRules(Digester digester) { digester.addObjectCreate( foo, mypackage.Foo );

Re: Object graph validation

2011-09-19 Thread Simone Tripodi
Hi Jeff, I suggest you to have a look at Apache BeanValidation[1] that is the implementation of JSR303 BeanValidation. HTH, Simo [1] http://incubator.apache.org/bval/cwiki/index.html http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Mon, Sep 19, 2011 at 12:23 PM, jeff mutonho

Re: Object graph validation

2011-09-19 Thread Simone Tripodi
with the Hibernate Validator  though? On Mon, Sep 19, 2011 at 12:31 PM, Simone Tripodi simonetrip...@apache.orgwrote: Hi Jeff, I suggest you to have a look at Apache BeanValidation[1] that is the implementation of JSR303 BeanValidation. HTH, Simo [1] http://incubator.apache.org/bval/cwiki/index.html

Re: [ANNOUNCEMENT] Commons Configuration 1.7 Released

2011-09-08 Thread Simone Tripodi
I agree, quite unfair comment :( Commons, like the rest of the Apache communities, is a group of volunteers maintaining projects, that means no one of us is paid nor has a lot of time to during the day to dedicate to get component released. So everybody is welcomed on submitting patches,

Re: [Betwixt] is betwixt thread safe ?

2011-08-16 Thread Simone Tripodi
will find more information about the lib's version and maybe send some code so you can tell me what is the problem. Thanks Patrick 2011/8/15 Simone Tripodi simonetrip...@apache.org Hi Patrick, sorry for the misunderstanding I made, for deserializer I meant the BeanReader :P Sorry again

Re: [Betwixt] is betwixt thread safe ?

2011-08-15 Thread Simone Tripodi
give me an example of code using this deserializer to help me to write the code needed ? Thank you Patrick 2011/8/14 Simone Tripodi simonetrip...@apache.org Hi Patrick! you're welcome, let us know about your results! Have  nice day, Simo http://people.apache.org/~simonetripodi/ http

Re: [Betwixt] is betwixt thread safe ?

2011-08-14 Thread Simone Tripodi
Hi Patrick!!! for the XML - Object mapping, Betwixt relies on Digester, which is NOT thread safe. You have 3 options: - synchronize the blocks as you did - anyway it's not the best way IMHO; - re-create the deserializer for each request; - use Betwixt in combination with commons-pool,

Re: [Betwixt] is betwixt thread safe ?

2011-08-14 Thread Simone Tripodi
solution Patrick Le 14 août 2011 à 20:24, Simone Tripodi a écrit : Hi Patrick!!! for the XML - Object mapping, Betwixt relies on Digester, which is NOT thread safe. You have 3 options: - synchronize the blocks as you did - anyway it's not the best way IMHO; - re-create the deserializer

[digester] Apache Commons Digester3 is on JaxEnter!

2011-07-12 Thread Simone Tripodi
Hi all guys, just to let you aware that Apache Commons Digester 3 release has been announced on JaxEnter[1]! All the best, have a nice day Simo [1] http://jaxenter.com/first-rc-of-jdk7-arrives-36709.html http://people.apache.org/~simonetripodi/ http://www.99soft.org/

[digester] Jaxenter interview about Digester3!!!

2011-07-12 Thread Simone Tripodi
Hi all guys, just to share with you all a small interview I had with Jaxenter today during lunch-time, I hope that my fellows appreciate how things have been exposed! Agreements section is not missing! :) Have a nice day, all the best! Simo [1]

Re: [digester] Jaxenter interview about Digester3!!!

2011-07-12 Thread Simone Tripodi
Dankeshen Christian, very appreciated! :) All the best!!! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Tue, Jul 12, 2011 at 8:00 PM, Christian Grobmeier grobme...@gmail.com wrote: Reads great! Love to see things like that On Tue, Jul 12, 2011 at 7:43 PM, Simone

Re: [digester] Jaxenter interview about Digester3!!!

2011-07-12 Thread Simone Tripodi
that On Tue, Jul 12, 2011 at 7:43 PM, Simone Tripodi simonetrip...@apache.org wrote: Hi all guys, just to share with you all a small interview I had with Jaxenter today during lunch-time, I hope that my fellows appreciate how things have been exposed! Agreements section is not missing

[ANNOUNCE] Apache Commons Digester 3.0 released!

2011-07-06 Thread Simone Tripodi
The Apache Commons team is pleased to announce the Apache Commons Digester 3.0 release! The Apache Commons Digester package lets you configure an XML to Java object mapping module which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized. The

Re: [Digester] new Digester SNAPSHOT available

2011-06-20 Thread Simone Tripodi
Hi again guys, Is there any user that gave an opportunity to the new Digester to be tried? All the best, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sat, Jun 18, 2011 at 2:28 PM, Simone Tripodi simonetrip...@apache.org wrote: Hi all guys, during the last months

[Digester] new Digester SNAPSHOT available

2011-06-18 Thread Simone Tripodi
Hi all guys, during the last months we've been working on a new Digester version that's still under development/finalization, anyway we would be very glad on collect feedbacks from users as much as it is possible. The new SNAPSHOT site has been published[1] and we would like to emphasize the new

Re: Retrying a HTTP call..

2011-05-27 Thread Simone Tripodi
Hi Mani, HTTP client has been moved to Http Componentes[1] I suggest you asking on their ML HTH, have a nice day! Simo [1] http://hc.apache.org/ http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Fri, May 27, 2011 at 3:00 PM, Manikandan R maniraj...@gmail.com wrote: Hi

Re: [io] Tailer returning partial lines returned when EOF before newline

2011-05-25 Thread Simone Tripodi
Hi Frank, What I suggest you is following the usual workflow, I mean opening an Issue on ASF Jira - see Niall's link - and build a patch against the /trunk and attach it to the filled Issue. Otherwise it will be very hard that IO maintainers could notice and apply a textual patch inside the ML.

Re: [io] Tailer returning partial lines returned when EOF before newline

2011-05-25 Thread Simone Tripodi
I didn't check the patch, I was referring to the process. sorry for the misunderstanding http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed, May 25, 2011 at 3:12 PM, Jörg Schaible joerg.schai...@scalaris.com wrote: Hi, Simone Tripodi wrote: Great, that's the way to go

Re: [digester] how can I print children tags instead of only tag content ?

2011-05-15 Thread Simone Tripodi
) thanks On 15 May 2011 02:09, Simone Tripodi simonetrip...@apache.org wrote: IIUC, no matters which kind of children your node has, you're interested only on the first child, right? http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sat, May 14, 2011 at 10:51 PM, Patrick

Re: [digester] how can I print children tags instead of only tag content ?

2011-05-15 Thread Simone Tripodi
nice!!! di nulla, è un piacere ;) Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sun, May 15, 2011 at 12:24 PM, Patrick Diviacco patrick.divia...@gmail.com wrote: OK. Solved, thanks - grazie mille On 15 May 2011 11:28, Simone Tripodi simonetrip...@apache.org wrote

Re: [digester] how can I print children tags instead of only tag content ?

2011-05-14 Thread Simone Tripodi
detected multiple times ? help is very appreciated! On 14 May 2011 01:36, Simone Tripodi simonetrip...@apache.org wrote: Hi Patrick, follow the Konstantin's suggestion, that's the way to achieve it. Have a read also to http://commons.apache.org/digester/apidocs/index.html?org/apache

Re: [digester] how can I print children tags instead of only tag content ?

2011-05-14 Thread Simone Tripodi
: Digester digester = new Digester(); digester.setRules( new RegexRules( new SimpleRegexMatcher() ) ); digester.addCallMethod(collection/doc/categ/*,  myMethod, 0); thanks Patrick On 14 May 2011 21:54, Simone Tripodi simonetrip...@apache.org wrote: Hi Patrick, I thought it was more

Re: [digester] Grabbing data from sub-element attributes

2011-05-13 Thread Simone Tripodi
Hi Christopher, I suggest you following Rahul's suggestion, SetNestedPropertiesRule is not efficient as a direct invocation. Moreover, for foo/bar properties, there's a 3rd way to set them: d.addObjectCreate(entities/entity, Entity.class); d.addBeanPropertySetter(entities/entity/foo);

Re: [digester] how can I print children tags instead of only tag content ?

2011-05-13 Thread Simone Tripodi
Hi Patrick, follow the Konstantin's suggestion, that's the way to achieve it. Have a read also to http://commons.apache.org/digester/apidocs/index.html?org/apache/commons/digester/SimpleRegexMatcher.html HTH, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Fri, May

[ANNOUNCEMENT] Apache Commons Discovery 0.5 released!

2011-05-05 Thread Simone Tripodi
The Apache Commons team is pleased to announce the commons-discovery-0.5 release! The Apache Commons Discovery component is about discovering, or finding, implementations for pluggable interfaces. Changes in this version include: Fixed Bugs: o Enumeration in Service class is broken. Issue:

Re: [ANNOUNCEMENT] Apache Commons Discovery 0.5 released!

2011-05-05 Thread Simone Tripodi
: Congratulations to Simone for pushing this release out! Gary On May 5, 2011, at 8:26, Simone Tripodi simonetrip...@apache.org wrote: The Apache Commons team is pleased to announce the commons-discovery-0.5 release! The Apache Commons Discovery component is about discovering, or finding

Re: [digester] digester performance..

2011-04-06 Thread Simone Tripodi
I'd discourage XPath since implies maintaining the DOM in memory, if the XML document Patrick is parsing is large is thousand and thousand of Megabytes, XPath is not efficient as well. Patrick, honestly I didn't understand the problem :) sounds a Lucene performance problem, did you already try

Re: [digester] digester performance..

2011-04-05 Thread Simone Tripodi
Hi Patrick, if the Digester program you're speaking about is the one you pasted here time ago... well, there were a lot of optimization missed. For example I suggested you using the Lucene rules instead of storing all the properties in a POJO then creating the Lucene Document, in that way you

Re: [digester] why addCallMethod doesn't work?

2011-04-02 Thread Simone Tripodi
to understand, I see after using it for a while. Kurt On Fri, 01 Apr 2011 22:32:12 +0800, Simone Tripodi simonetrip...@apache.org wrote: Not sure to understand the question, but try with       d.addCallMethod(pattern, setType, 1);       d.addCallParam(pattern, 0, type); if you want to extract

Re: Re: [digester]How to use SimpleRegexMatcher?

2011-04-01 Thread Simone Tripodi
hao, r u from China?   Many thanks. Kurt On Thu, 31 Mar 2011 14:39:59 +0800, Simone Tripodi simonetrip...@apache.org wrote: Ni hao again Kurt, just realized that the ParaItemRule implementation is incomplete, use the one below. Simo public final class ParaItemRule extends

Re: Re: Re: [digester]How to use SimpleRegexMatcher?

2011-04-01 Thread Simone Tripodi
, Simone Tripodi simonetrip...@apache.org wrote: Ni hao again Kurt, just realized that the ParaItemRule implementation is incomplete, use the one below. Simo public final class ParaItemRule extends org.apache.commons.digester.Rule {  @Override  public void body(String namespace, String name

Re: [digester] NullPointerException

2011-04-01 Thread Simone Tripodi
, Apr 1, 2011 at 10:05 AM, Patrick Diviacco patrick.divia...@gmail.com wrote: Cool thanks, solved. On 1 April 2011 01:00, Simone Tripodi simonetrip...@apache.org wrote: Patrick, just replace 71    digester.addObjectCreate(collection, XMLReader.class); with    digester.push

Re: Re: Re: [digester]How to use SimpleRegexMatcher?

2011-04-01 Thread Simone Tripodi
setRules twice ,right? How could be just set once.  Thanks Kurt On Fri, 01 Apr 2011 15:27:09 +0800, Simone Tripodi simonetrip...@apache.org wrote: Hi Kurt Ok now I get it: exactly, calling Digetser.setRules() you loose all the already set Rules instance, so it would be better if you call

Re: Re: Re: [digester]How to use SimpleRegexMatcher?

2011-04-01 Thread Simone Tripodi
. On Fri, 01 Apr 2011 18:48:09 +0800, Simone Tripodi simonetrip...@apache.org wrote: Sorry, I lost you, didn't understand :( Please provide me a more concrete sample, please Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Fri, Apr 1, 2011 at 9:37 AM, Kurt Xu

Re: [digester] why addCallMethod doesn't work?

2011-04-01 Thread Simone Tripodi
Holy cow, Kurt!!! :D can you be more precise and highlight which is the part that doesn't work? For what I see, there's one assCallParam() set in your Digetser and that's for the Handler Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ 2011/4/1 Kurt Xu fxbird1...@163.com:

Re: Re: [digester]How to use SimpleRegexMatcher?

2011-03-31 Thread Simone Tripodi
Hi Kurt, calling the setRules() method in the way you did, makes the Rules instance is reset, so you loose the already set patterns. modify the code in order that the setRules() method is invoked before setting patterns/rules. HTH, Simo private void parseProject2(URL url) throws IOException,

Re: [digester] NullPointerException

2011-03-31 Thread Simone Tripodi
Hi Patrick, can you link also to the XML you're trying to parse? Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Thu, Mar 31, 2011 at 10:24 PM, Patrick Diviacco patrick.divia...@gmail.com wrote: Hi, I'm trying to store the content of a xml file into memory but for

Re: [digester] NullPointerException

2011-03-31 Thread Simone Tripodi
if the issue is that XMLReader has been created as static object... thanks On 1 April 2011 00:26, Simone Tripodi simonetrip...@apache.org wrote: Hi Patrick, can you link also to the XML you're trying to parse? Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Thu, Mar

Re: [digester] java.lang.NullPointerException only for a specific file

2011-03-29 Thread Simone Tripodi
using Digester combined with Apache Lucene to perform queries (all together they are 65MBs in a xml file) against a collection (65MBs in XML again). thanks On 28 March 2011 17:20, Simone Tripodi simonetrip...@apache.org wrote: Hi Patrick, take a look at this example[1]: all you have

Re: [digester] java.lang.NullPointerException only for a specific file

2011-03-28 Thread Simone Tripodi
Hi Patrick, nice to know you quickly fixed the issue before anybody could have provided his help! :) As a side note, I would suggest you taking in consideration a different solution for the XML generation rather the StringBuffer, since you're parsing large dataset, streaming data while parsing

Re: [digester] java.lang.NullPointerException only for a specific file

2011-03-28 Thread Simone Tripodi
://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Mon, Mar 28, 2011 at 4:56 PM, Patrick Diviacco patrick.divia...@gmail.com wrote: hi! What should I use instead of StringBuffer ? Any example or tutorial ? thanks Patrick On 28 March 2011 16:53, Simone Tripodi simonetrip

[Digester][Sandbox] please test the experimental new Digester

2011-03-09 Thread Simone Tripodi
Hi all Commons users, I'd like you involved on testing the prototypal Digester on Sandbox[1]; since it is staged at Sandbox, interested people have to checkout the code and build by themselves, it would be a good chance to be more involved. Every suggestion/feedback/wish list/bug would be very

Re: [Digester] Maven 2 Repository

2011-03-08 Thread Simone Tripodi
Hi Russell, if you mean the 2.X, it is in the Central Repo, if you instead would get the 3.0[1], you have to checkout the code[2] and build it by yourself since it is still in the sandbox. I really would appreciate if you can test it and send your feedbacks here in the users ML,

Re: [daemon] The ivy resolver can't version 1.0.3, 1.0.4 or 1.0.5

2011-03-08 Thread Simone Tripodi
Olà Felipe, looks like the commons-daemon 1.0.3 IS on maven central repo, take a look at http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.3/ It seems to me that's more ivy-related problem, I'd ask to ivy ML why it is not resolved. Sorte, até Simo

Re: [Digester] Maven 2 Repository

2011-03-08 Thread Simone Tripodi
[mailto:simone.trip...@gmail.com] On Behalf Of Simone Tripodi Sent: Tuesday, March 08, 2011 3:09 AM To: Commons Users List Subject: Re: [Digester] Maven 2 Repository Hi Russell, if you mean the 2.X, it is in the Central Repo, if you instead would get the 3.0[1], you have to checkout the code[2

Re: [daemon] The ivy resolver can't version 1.0.3, 1.0.4 or 1.0.5

2011-03-08 Thread Simone Tripodi
at 4:06 PM, Filipe Sousa nat...@gmail.com wrote: On Tue, Mar 8, 2011 at 11:49 AM, Simone Tripodi simonetrip...@apache.org wrote: Olà Felipe, looks like the commons-daemon 1.0.3 IS on maven central repo, take a look at http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.3/ It seems

Re: [digester] How to deal with flexible XML ?

2011-02-27 Thread Simone Tripodi
. Should I use Field.Index.ANALYZED for all of them ? thnks On 27 February 2011 09:55, Simone Tripodi simonetrip...@apache.org wrote: Hi Patrick, I quickly had a look at your code and l didn't see anything wrong, the Digester should work either the geo tag is empty or not. When you

[Sandbox][Digetser3] Meet the Sandbox Digester3, it could worth the value!

2011-02-25 Thread Simone Tripodi
Hi all commons-users, during my spare time I started reimplementing a new version of Digester - I lazily called Digester3[1] - focused few concepts: * A universal loader (core extensions are loaded in the same way); * Reusability of Digester configurations; * Rules are now expressed via

Re: [commons-email] Problem sending emails to groups

2011-02-23 Thread Simone Tripodi
Hola Lorenzo, please don't send the same email message to both dev/users MLs, dev is not for supporting this kind of questions. Apologize but personally I'm not [email] expert, can't provide any help :( Hasta pronto, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Wed,

Re: [Digester] Rules on Attributes

2011-02-22 Thread Simone Tripodi
Hi Russell, use the SetPropertiesRule[1] to extract properties from attributes, this is what you need for your purpose! HTH, Simo [1] http://s.apache.org/zJ http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Tue, Feb 22, 2011 at 9:49 PM, Collins, Russell rcoll...@corelogic.com

[compress] Zip password compressed archive

2011-02-07 Thread Simone Tripodi
Hi all guys, do you know is there any way to protect with a password the produced zip archive, with [compress] APIs? Many thanks in advance, have a nice day! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ -

Re: [compress] Zip password compressed archive

2011-02-07 Thread Simone Tripodi
Thanks a lot for all the suggestions guys, very appreciated! Have a nice day, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Mon, Feb 7, 2011 at 12:15 PM, Stefan Bodewig bode...@apache.org wrote: On 2011-02-07, Simone Tripodi wrote: do you know is there any way

Re: [email] 1.3 snapshot

2011-01-24 Thread Simone Tripodi
Hi Nate!!! :) looks like the commons-email-1.3 is not available yet on apache snapshot repository[1], BTW you can bookmark the snapshot repo URL for future usages. HTH, Simo [1] http://repository.apache.org/snapshots/commons-email/commons-email/ http://people.apache.org/~simonetripodi/

Re: [email] 1.3 snapshot

2011-01-24 Thread Simone Tripodi
, 2011 at 4:29 AM, Simone Tripodi simonetrip...@apache.org wrote: Hi Nate!!! :) looks like the commons-email-1.3 is not available yet on apache snapshot repository[1], BTW you can bookmark the snapshot repo URL for future usages. HTH, Simo [1] http://repository.apache.org/snapshots/commons

[ANNOUNCEMENT] Apache Commons Digester 2.1 Released

2010-09-25 Thread Simone Tripodi
Tracking links here: http://commons.apache.org/digester/project-info.html Simone Tripodi - On behalf of the Apache Commons community http://people.apache.org/~simonetripodi/ http://www.99soft.org/ - To unsubscribe, e-mail: user

Re: commons-exec

2010-01-31 Thread Simone Tripodi
Hi Sigfried, I take advance to notify you the homepage still reports Jakarta Commons Exec... shouldn't be just Commons Exec instead? Best regards, Simo http://people.apache.org/~simonetripodi/ On Sun, Jan 31, 2010 at 1:24 PM, Siegfried Goeschl siegfried.goes...@it20one.at wrote: Hi,

Re: problem with numActive counter

2010-01-15 Thread Simone Tripodi
Ciao Daniele ;) First, I suggest you to start the subject line with [componentname], i.e. [POOL] if you're referring commons-pool, otherwise people risk to get confused and not able to reply. I don't know the Pool so deeply and maybe I didn't understand the problem, but reading your code I'm

Re: [GenericObjectPool] problem with numActive counter

2010-01-15 Thread Simone Tripodi
. Thanks guys for your replies. Byez! Daniele Bonetto Il 15/01/2010 11.08, Mark Thomas ha scritto: On 15/01/2010 10:03, Simone Tripodi wrote: Ciao Daniele ;) First, I suggest you to start the subject line with [componentname], i.e. [POOL] if you're referring commons-pool, otherwise people

Re: [GenericObjectPool] problem with numActive counter

2010-01-15 Thread Simone Tripodi
, Simone Tripodi ha scritto: In the example, the catch group catches exceptions that could be thrown by the object _use_, I *suppose* whenever you catch a java.util.NoSuchElementException you don't need to invalidate the object, that's what Mark was pointing. let us know, all the best, Simo

Re: [GenericObjectPool] problem with numActive counter

2010-01-15 Thread Simone Tripodi
have limited connections to respect). Byez! Daniele Bonetto Il 15/01/2010 11.37, Simone Tripodi ha scritto: In the example, the catch group catches exceptions that could be thrown by the object _use_, I *suppose* whenever you catch a java.util.NoSuchElementException you don't need

Re: Null safe dateformat?

2010-01-12 Thread Simone Tripodi
Hi Ludwig, I suggest you to include, between square brackets, the commons component name, which you are interested, in the mail subject, otherwise people can get confused and not able to reply properly. Have a nice day, Simo On Tue, Jan 12, 2010 at 10:28 AM, Ludwig Magnusson lud...@itcatapult.com

Re: Commons betwixt 0.8 - reading Map from XML

2008-09-06 Thread Simone Tripodi
Hi Dimitry, my pleasure :) Best regards, Simone 2008/9/5 Dmitriy Kuznetsov [EMAIL PROTECTED]: Simone Tripodi wrote: Hi Dmitriy, you don't you use just the commons-digester rules to map the xml to your map? It's also a betwixt dependency library, and maybe it could be easier. Best regards

Re: Commons betwixt 0.8 - reading Map from XML

2008-09-03 Thread Simone Tripodi
Hi Dmitriy, you don't you use just the commons-digester rules to map the xml to your map? It's also a betwixt dependency library, and maybe it could be easier. Best regards, Simone 2008/9/1 Dmitriy Kuznetsov [EMAIL PROTECTED]: Hi. I am trying to load a map of String, Object from XML back to