Hi Q

----- Original Message -----
From: "Q Quatro" <[EMAIL PROTECTED]>
> Hi all,
>
> I like dom4j. Not only is it neat, it appears to perform very well too,
and
> provides excellent, needed, integration with xslt etc.

Glad to hear it.


> My problem is that I am currently using JDOM.  It is easy enough to swap -

And both can happily co-exist; you can move from text to SAX to DOM to dom4j
to JDOM as much as you like. So one size does not need to fit all nor is
this a world domination thing.


> but JDOM has a JSR going at Sun -see http://www.jcp.org/jsr/detail/102.jsp

The stated goals of the JDOM JSR is to manage the existing JDOM project
using Sun's JCP process. Its not an attempt to define how XML should be
processed on the Java platform. Though its a clever bit of marketting as
often people assume thats what the JCP process is, a standards thing, not a
process thing.


> My questions:
> a) What are the implications of JDOM having a JSR and dom4J not?

I hope very little. JDOM is a totally different project with quite different
goals. JDOM doesn't care much about performance or info-set compliance or
advanced features, its more focussed on making things easy. It wants to
protect uses from the complexities of using interfaces and flexible
implementation strategies and just have one core implementation of an XML
document in RAM.

You never know, stranger things have happened, dom4j might get a JSR too one
day.


> b) Will JDOM become more of a 'standard' than dom4J because of this?

I don't think either will be a 'standard' in the sense that they get shipped
with the JDK etc. Both will hopefully be well used though.


> c) Will JDOM become/be more stable/better than dom4j because of this?

I think only time will tell. JDOM appears in a state of flux right now as it
attempts to solidify what its first release will be. I know dom4j is stable.


> I guess these are questions that many people will be asking when they see
> dom4j and are already jdom users.  Perhaps answers to a FAQ?

They are totally valid questions and you're right should appear in the FAQ;
I'll try do that early next week.

James



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to