i think that this is caused by a bug which has now been fixed. could you
try again using either the code from HEAD or a recent nightly?
- robert
On Fri, 2005-08-19 at 07:25 -0700, Cristiane Fogaça wrote:
> Hi,
>
> Does anybody know how to convert an XML to a
> Collection of beans?
>
> Here is the XML that I have:
>
> <ProjectReviews>
> <ProjectReviewStatus>
> <comments>new status with date</comments>
> <createdBy>Cristiane</createdBy>
> <createdOn>2005-08-18 13:32:17.562</createdOn>
> <projectStatus>In Process</projectStatus>
> </ProjectReviewStatus>
> <ProjectReviewStatus>
> <comments>another comment</comments>
> <createdBy>Cristiane II</createdBy>
> <createdOn>2005-08-18 13:32:17.562</createdOn>
> <projectStatus>In Process</projectStatus>
> </ProjectReviewStatus>
> </ProjectReviews>
>
>
> I'm trying to do something like this:
> beanReader.registerBeanClass("ProjectReviews",
> ArrayList.class);
> ArrayList reviews =
> (ArrayList)beanReader.parse(xmlReader);
>
> Anything is returned and no error is throw. What is
> wrong with this code?
>
> Thanks for any help.
> Cristiane
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]