[digester] Trouble adding a list to a hash map

2010-10-01 Thread Philip A Grim II
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

Re: [digester] Trouble adding a list to a hash map

2010-10-01 Thread Rahul Akolkar
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

RE: [digester] Trouble adding a list to a hash map

2010-10-01 Thread Philip A Grim II
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

Re: [digester] Trouble adding a list to a hash map

2010-10-01 Thread Rahul Akolkar
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

RE: [digester] Trouble adding a list to a hash map

2010-10-01 Thread Philip A Grim II
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