Hi Luc and others,
I have written the standardize function by myself (see below, including the
tests). Would it be possible to have this added to Apache Math Commons?
/**
* The standardise function does not seem to be in Apache math commons.
*
*
* @author Erik van Ingen
*
*/
public
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Any suggestions? I've even considered using a multi-valued msg using a
comma as a separator for the two. Something like this:
msg=errors.xhtml.syntax, errors.xhtml.no-end-tag
Does anyone have any better ideas?
Thanks,
- -chris
On 9/29/2010
Le 29/09/2010 18:28, n...@dad.org a écrit :
A related feature I would like is support for abbreviations, of -- options.
Submitting an ambiguous abbreviation would generate a parser error. Many,
of the GNU utilities, including ls, have this feature.
Commons CLI supports this too. If ambiguous
Le 29/09/2010 18:05, Jason Powers a écrit :
What I basically need is a parser that behaves like ls and java (without the
-D part) for long options.
For example, if I have a short option of 'a' and a long option of 'add'. I'd
accept '-a' and '--add', but I would reject '-add'. The new
I'm having difficulty with the Digester when trying to add a list to a hash
map.
The following is a portion of the XML I'm digesting:
?xml version=\1.0\ encoding=\utf-8\?
Envelope
Person
Locations
Location
Id3eca4cd1-a07a-4013-b4a3-1d6a6530f7e3/Id
On Fri, Oct 1, 2010 at 3:12 PM, Philip A Grim II pg...@data-tactics.com wrote:
I'm having difficulty with the Digester when trying to add a list to a hash
map.
The following is a portion of the XML I'm digesting:
?xml version=\1.0\ encoding=\utf-8\?
Envelope
Person
Locations
Apologies...wasn't thinking straight.
Here's the code.
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.digester.Digester;
import
Please note that its important to post the smallest piece of code that
fully demonstrates the problem at hand -- vast majority of the code
below is quite unrelated and it takes time to read through each line
that you add to your post.
In any case, I did find atleast a couple of needles in the
Again, my apologies for the length of my post.
You have solved the problem.
Many thanks,
Phil
-Original Message-
From: Rahul Akolkar [mailto:rahul.akol...@gmail.com]
Sent: Friday, October 01, 2010 10:09 PM
To: Commons Users List
Subject: Re: [digester] Trouble adding a list to a