Christopher Elkins wrote:
> 
> Scott Tavares [[EMAIL PROTECTED]] wrote:
> >
> > No problem at all... i think what i'll do with my code is post up a diff and
> > we can take the best of each and combine them into one... sound good?
> >
> > -scott-
> 
> Yeah, that sounds good. I look forward to seeing your code. At that point
> we can address Brett's comments on DOM vs. SAX.

I'll be sure to make some then ;-)  In any case, you both of course
realize that SAX will be used either way in parsing, as Apache Xerces
uses a SAX Parser when creating a DOM output.  Just some curio I thought
you two might enjoy... The issue then becomes one of how we need to
manipulate the data, as in during processing, or after processing.  Once
you guys get some code and lots of sample class maps, the correct thing
to do will become evident.

> 
> Aside: Have you taken a look at Castor <http://castor.exolab.org>? They're
> doing some cool things with SQL<->Java and XML<->Java that we might want to
> consider incorporating. 

Castor is an O/R mapping tool that is a level above SAX and DOM (also
check out Tyrex, also at Exolabs).  It actually is most analogous to the
Java for XML Data Binding proposal making its way around Sun. 
(http://java.sun.com/xml)

> For example, I would be extremely interested in making
> PersistentObject persistable to/from XML. It would probably require (I think)
> some major structural changes to OPaL because of the current dependencies on
> the database and sql packages. 

Yup, but not a bad idea... it would be fun, in any case, if not
immediately super-useful ;-)

Indeed, such functionality may not be
> appropriate within OPaL, but that's what I want to find out. Anyway, that's
> a project for another day. :)

-Brett

> 
> --
> Christopher Elkins
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to