i've no idea if this is really what you are looking for, but since you
guys haven't mentioned it, i'll make sure you are aware of it...

http://jakarta.apache.org/commons/betwixt/

and no, i've never used it either.  but it seems to me that the
combination of this and digester
(http://jakarta.apache.org/commons/digester/ ...which i have used, and
i believe betwixt can automatically generate rules for) would be quite
"fault tolerant".

On 11/2/05, Scott Edward Skinner <[EMAIL PROTECTED]> wrote:
> Ah... abebooks. Do you guys support OS X yet? :-)
>
> I am also looking for some kind of XML data binding for Java. The two
> big guns are Sun's JAXB and Apache's XMLBeans. Both rely on schemas
> and don't strike me as being particularly "lightweight". It wouldn't
> be that difficult to roll your own or repurpose open source to add
> the features you want. Here...
>
> http://www.javaworld.com/javaworld/jw-03-1999/jw-03-beans-p2.html
>
> ...is an old article demonstrating such an application (complete with
> source code). The 1.5 J2SE also has a simple bean reader/writer. You
> could look at the source code for that as well.
>
> -S
>
>
> On Nov 2, 2005, at 7:06 PM, Peter Locke wrote:
>
> > There are a lot of smart individuals on this list and am hoping
> > someone can
> > recommend a good technology.
> >
> > Essentially I need a lightweight library that can do simple bean<->xml
> > conversions without mappings, but handle out of bounds data for
> > different
> > versions of xml and beans.
> >
> > XStream http://xstream.codehaus.org/ is a perfect example of
> > everything I
> > need *except* it does not handle out of bounds data - for example
> > if the xml
> > is missing a tag or has an unexpected tag, I want the bean object
> > to still be
> > created, with the extra tag ignored or the property corresponding to a
> > missing tag left at its default value.
> >
> > thanks
> >
> > --
> > Peter Locke
> > Senior Engineer / Dev Lead
> > www.abebooks.com <http://www.abebooks.com/>
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to