axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@macromedia.com
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/utils XMLUtils. java
Date Mon, 02 Apr 2001 19:05:00 GMT
OK, here's my suggestion.  Take it with appropriate salt.

DOM is pretty much a pain in the ass to work with, and we're Java
developers, with access to JDOM.  JDOM is screaming along in terms of
functionality, and they now deal just fine with JAXP on the bottom end, so
you can use whatever parser you want underneath there.  JDOM is also going
to be rolled into the Java standard fairly soon (JSR-102, I think).

Until we figure out what we're "really" doing about XML parsing and
modeling, I think we'd move much faster with JDOM, and that's where I think
we should be.  Besides, if we're going to end up using some other model like
pull or whatever anyway, why should it matter if we use JDOM or DOM right
now?

Suggestion : put JDOM back for now, and feel free to use the JAXP interface
to pick a parser.

--Glen

> -----Original Message-----
> From: Doug Davis [mailto:dug@us.ibm.com]
> Sent: Monday, April 02, 2001 2:44 PM
> To: axis-dev@xml.apache.org
> Subject: RE: cvs commit: xml-axis/java/src/org/apache/axis/utils
> XMLUtils. java
> 
> 
> Hence my expletives  8-)
> -Dug
> 
> Glen Daniels <gdaniels@macromedia.com> on 04/02/2001 02:42:46 PM
> 
> Please respond to axis-dev@xml.apache.org
> 
> To:   "'axis-dev@xml.apache.org'" <axis-dev@xml.apache.org>
> cc:
> Subject:  RE: cvs commit: 
> xml-axis/java/src/org/apache/axis/utils XMLUtils.
>       java
> 
> 
> 
> Gee, wouldn't it be nice if it were as simple as JDOM? :)
> 
> --G
> 
> > -----Original Message-----
> > From: Doug Davis [mailto:dug@us.ibm.com]
> > Sent: Monday, April 02, 2001 2:41 PM
> > To: axis-dev@xml.apache.org
> > Subject: Re: cvs commit: xml-axis/java/src/org/apache/axis/utils
> > XMLUtils.java
> >
> >
> > (removed expletives towards DOM and JAXP 8-)
> >
> > Perhaps someone could answer some of these questions:
> >
> > - How expensive is it to create a new DocumentBuilder?
> > - How do we serialize DOM w/o requiring a specific implementation?
> > - Is it possible to create an Element w/o a Document object?
> > - How expensive is the importNodes method?  I'm assuming its high.
> >
> > -Dug
> >
> >
> > Matthew Duftler/Watson/IBM@IBMUS on 04/02/2001 02:30:00 PM
> >
> > Please respond to axis-dev@xml.apache.org
> >
> > To:   axis-dev@xml.apache.org
> > cc:
> > Subject:  Re: cvs commit: xml-axis/java/src/org/apache/axis/utils
> >       XMLUtils.java
> >
> >
> >
> >
> > Hi Doug,
> >
> > I don't know what the standardized way to serialize a
> > org.w3c.dom.Document
> > is. There probably is a way, but I'm not sure what it is. I
> > briefly looked
> > through the JAXP spec to see if I could find a clue, but I 
> didn't see
> > anything. I did notice, however, that they explicitly say that
> > DocumentBuilder is not expected to be thread-safe, so holding
> > on to one
> > instance may not be the best idea.
> >
> > Thanks,
> > -Matt
> >
> >
> 
> 

Mime
View raw message