Re: [CODE4LIB] xml java package

2008-02-01 Thread Godmar Back
I haven't used Castor for mixed content, but obviously, mixed content is more difficult to map to Java types, even if you have a schema. I probably wouldn't use Castor in those situations. Otherwise, it - or a tool like it that can map schemata to Java types for automatic parsing, generation, and v

Re: [CODE4LIB] xml java package

2008-02-01 Thread Clay Redding
I don't know if it's still the case, but I know a recent EAD project that tried to use Castor said that it had problems with mixed content models. -- Clay On Feb 1, 2008, at 10:50 AM, Riley, Jenn wrote: -Original Message- I now need to read XML. Unlike indexing and doing OAI-PMH, ther

Re: [CODE4LIB] xml java package

2008-02-01 Thread Riley, Jenn
> -Original Message- > > I now need to read XML. Unlike indexing and doing OAI-PMH, there are > > a myriad of tools for reading and writing XML. I've done SAX before. > > I think I've done a bit of DOM. If I wanted a straight-forward and > > well-supported Java package that supported these

Re: [CODE4LIB] xml java package

2008-02-01 Thread Godmar Back
On Jan 27, 2008 5:40 PM, Eric Lease Morgan <[EMAIL PROTECTED]> wrote: > What is the most respected (useful, understandable) XML Java package? > > In a few fits of creative rage, I have managed to write my first Java > programs. I can now index plain text files with Lucene and search the > index. I

Re: [CODE4LIB] xml java package

2008-01-27 Thread Peter Kiraly
r - Original Message - From: "Eric Lease Morgan" <[EMAIL PROTECTED]> To: Sent: Sunday, January 27, 2008 11:40 PM Subject: [CODE4LIB] xml java package What is the most respected (useful, understandable) XML Java package? In a few fits of creative rage, I have managed to writ

Re: [CODE4LIB] xml java package

2008-01-27 Thread Kevin S. Clarke
That supports both SAX and DOM or just that provides a good way of working with XML? If I were making a recommendation for an XML/Java library, I'd recommend XOM. There are converters from SAX and DOM to XOM, but XOM is really a simpler (yet conformant) way of working with XML. http://xom.nu/ K

[CODE4LIB] xml java package

2008-01-27 Thread Eric Lease Morgan
What is the most respected (useful, understandable) XML Java package? In a few fits of creative rage, I have managed to write my first Java programs. I can now index plain text files with Lucene and search the index. I can parse MARC files with MARC4J, index them with Lucene, and search the index