Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » xml parsing problem on Eclipse3.0
xml parsing problem on Eclipse3.0 [message #277131] Mon, 06 December 2004 15:32
Eclipse UserFriend
Originally posted by: z.w.neusoft.com

Hi guys:)
I'm developing a j2ee development descriptor editor. I parse xml file
with apache digester, It needs Xerces. It takes me about 1.6sec to parse a
big ejb-jar.xml(it has 1024 <entity>s) on eclipse 2.1.3. When I update my
plug-in on eclipse3.0, It takes me about 4sec to do it. I read the release
note, eclipse3.0 remove xerces packake. Is it a reason?
How can I low the parsing time? thank you very much.
Re: xml parsing problem on Eclipse3.0 [message #277133 is a reply to message #277131] Sun, 05 December 2004 23:57 Go to previous message
Eclipse UserFriend
The Sun JDK 1.4.* includes XML parsing support (the Crimson implementation)
and this was one of the reasons to no longer provide Xerces with Eclipse.

There are differences between the Crimson and the Xerces implementations
which both conform to the JAXP (Java API for XML processing)

You have many choices including providing and using Xerces yourself.
As well you could see why the parsing is slower using the Crimson parser and
see if you can make adjustments to correct the slowdown.

BTW I believe JDK 1.5.* has moved back to using some incarnation of the
Xerces implementation.
IBM JDKs 1.4.* use some incarnation of the Xerces implementation.

All very confusing :-)
Darins

"Paul" <z.w@neusoft.com> wrote in message
news:cp0nsf$np0$1@www.eclipse.org...
> Hi guys:)
> I'm developing a j2ee development descriptor editor. I parse xml file
> with apache digester, It needs Xerces. It takes me about 1.6sec to parse a
> big ejb-jar.xml(it has 1024 <entity>s) on eclipse 2.1.3. When I update my
> plug-in on eclipse3.0, It takes me about 4sec to do it. I read the release
> note, eclipse3.0 remove xerces packake. Is it a reason?
> How can I low the parsing time? thank you very much.
>
>
>
>
>
>
Previous Topic:xml formatting in eclipse 3.0
Next Topic:CCombo redraws slightly not wide enough for all items
Goto Forum:
  


Current Time: Wed Nov 05 15:03:56 EST 2025

Powered by FUDForum. Page generated in 0.03392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top