cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <>
Subject Re: Why not JDOM, why DOM ?
Date Wed, 15 Oct 2003 15:56:35 GMT
Thanks for your answer Carsten, but I think I didn't explain well my issue...

For some components dealing with XML file (for configuration for exemple, or persistence)

or XML documents (DOM or JDOM objects speaking), Cocoon offers some convenient tools to 
use for the W3C DOM model : for exemple, the XPathProcessor component takes 
org.w3c.dom.Node objects to parse, and in general excalibur, for evident standards issues,

deals with W3C DOM model objects.

My question is :
If, for dev time performance, readability of the code ;), I would like to use JDOM, is 
there some warnings about using this lib ? :
  - performance of this lib compared the W3C Model
  - cost of bridging the format to use the Excalibur components (baaaaad....)
  - performance of other tools to do the same job (jaxen ?)

I hope I'm clear :)


On 15/10/2003 14:49, Carsten Ziegeler wrote:

> Nothing is prohibited in Cocoon, you can of course use whatever you want.
> Now, Cocoon is SAX based, not DOM. For your own code, you can either
> use SAX as well, or DOM, or JDOM, dom4j etc.
> Carsten
>>-----Original Message-----
>>From: news []On Behalf Of Olivier Billard
>>Sent: Wednesday, October 15, 2003 11:19 AM
>>Subject: Why not JDOM, why DOM ?
>>Hi all?
>>I hope my question(s) will not set this list on fire, I know 
>>there's some "pro-" and 
>>"against-" it outside...
>>But I would like to know if the use of JDOM in Cocoon is 
>>prohibited, or if it could well 
>>be used.
>>I think performances, of course.
>>Thanks in advance !
>>Olivier BILLARD

View raw message