Print

Print


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, 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 APIs, then what
>>> package might I use?
>>>
>>
>> If the data you're manipulating is partially or fully described by a
>> Schema or DTD, consider using a package such as Castor (castor.org)
>
> I think I recall hearing in the past that Castor had trouble with
> XML files that used mixed content models (a set into which TEI and
> EAD both fall) - can anyone confirm if that's currently the case
> (or that it never was and I'm completely misremembering)?
>
> Jenn
>
> ========================
> Jenn Riley
> Metadata Librarian
> Digital Library Program
> Indiana University - Bloomington
> Wells Library W501
> (812) 856-5759
> www.dlib.indiana.edu
>
> Inquiring Librarian blog: www.inquiringlibrarian.blogspot.com