You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Peter Guyatt <pg...@telesoft-technologies.com> on 2003/11/28 15:49:58 UTC
Xerces performance problems
Hi There,
I am having trouble parsing a document when using the Xerces-c-2.2.0 on
solaris 2.8, my problem is the time it is taking to parse which is about 2.5
minutes.
It takes around 2.5 seconds using the Xerces Java parser but that version is
2.4.0 when using the GUI front end.
I am only using the parser to process a DOM Tree, (please find C code
attached).
Is it worth moving to Xerces2.4.0 when it is released or should I just use
the SAX parser for faster results?
The XML file can be provided on request
thanks
Pete
RE: Xerces performance problems
Posted by Gareth Reakes <ga...@decisionsoft.com>.
Yes you can.
Gareth
On Fri, 28 Nov 2003, Peter Guyatt wrote:
> Hi Gareth,
>
> I have just tried to email the XML file (in zip format) but it is being
> rejected for being too large.
>
> Can I email it to you directly its about 90kb
>
> Thanks
>
> Pete
>
> -----Original Message-----
> From: Gareth Reakes [mailto:gareth@decisionsoft.com]
> Sent: 28 November 2003 14:55
> To: xerces-c-dev@xml.apache.org
> Subject: Re: Xerces performance problems
>
>
> Hi,
> what size is the document? If it is not to large then attach it.
> Is xerces-j takes 2.5 secs then this is a bug.
>
> Gareth
>
>
> On Fri, 28 Nov 2003, Peter Guyatt wrote:
>
> > Hi There,
> >
> > I am having trouble parsing a document when using the Xerces-c-2.2.0 on
> > solaris 2.8, my problem is the time it is taking to parse which is about
> 2.5
> > minutes.
> >
> > It takes around 2.5 seconds using the Xerces Java parser but that version
> is
> > 2.4.0 when using the GUI front end.
> >
> > I am only using the parser to process a DOM Tree, (please find C code
> > attached).
> >
> > Is it worth moving to Xerces2.4.0 when it is released or should I just use
> > the SAX parser for faster results?
> >
> > The XML file can be provided on request
> >
> > thanks
> >
> > Pete
> >
>
> --
> Gareth Reakes, Head of Product Development +44-1865-203192
> DecisionSoft Limited http://www.decisionsoft.com
> XML Development and Services
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
>
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
RE: Xerces performance problems
Posted by Peter Guyatt <pg...@telesoft-technologies.com>.
Hi Gareth,
I have just tried to email the XML file (in zip format) but it is being
rejected for being too large.
Can I email it to you directly its about 90kb
Thanks
Pete
-----Original Message-----
From: Gareth Reakes [mailto:gareth@decisionsoft.com]
Sent: 28 November 2003 14:55
To: xerces-c-dev@xml.apache.org
Subject: Re: Xerces performance problems
Hi,
what size is the document? If it is not to large then attach it.
Is xerces-j takes 2.5 secs then this is a bug.
Gareth
On Fri, 28 Nov 2003, Peter Guyatt wrote:
> Hi There,
>
> I am having trouble parsing a document when using the Xerces-c-2.2.0 on
> solaris 2.8, my problem is the time it is taking to parse which is about
2.5
> minutes.
>
> It takes around 2.5 seconds using the Xerces Java parser but that version
is
> 2.4.0 when using the GUI front end.
>
> I am only using the parser to process a DOM Tree, (please find C code
> attached).
>
> Is it worth moving to Xerces2.4.0 when it is released or should I just use
> the SAX parser for faster results?
>
> The XML file can be provided on request
>
> thanks
>
> Pete
>
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Xerces performance problems
Posted by Gareth Reakes <ga...@decisionsoft.com>.
Hi,
what size is the document? If it is not to large then attach it.
Is xerces-j takes 2.5 secs then this is a bug.
Gareth
On Fri, 28 Nov 2003, Peter Guyatt wrote:
> Hi There,
>
> I am having trouble parsing a document when using the Xerces-c-2.2.0 on
> solaris 2.8, my problem is the time it is taking to parse which is about 2.5
> minutes.
>
> It takes around 2.5 seconds using the Xerces Java parser but that version is
> 2.4.0 when using the GUI front end.
>
> I am only using the parser to process a DOM Tree, (please find C code
> attached).
>
> Is it worth moving to Xerces2.4.0 when it is released or should I just use
> the SAX parser for faster results?
>
> The XML file can be provided on request
>
> thanks
>
> Pete
>
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org