perfsonar-dev - Re: pUI strange bahaviour -- NMWG parser bug fix and XFire
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To: Roman Lapacz <>
- Cc: Szymon Trocha <>, perfsonar-dev <>
- Subject: Re: pUI strange bahaviour -- NMWG parser bug fix and XFire
- Date: Tue, 03 Jul 2007 16:31:31 +0200
Today Maciej and I were discussing the problem of text cutting. The bug was in the SAX parser of NMWG implementation. Maciej has already updated this parser in svn trunk and it should work fine now.
Hi,
The log message for that change is:
--------------------------------------------------------------------------
Change of error in text values parsing.
Before text values of elements was set each time when SAX characters(...) method was invoked. But SAX characters(...) method may be run several times for the same value of XML element. So before the change, text value of the element was overwritten each time. The effect was cutting the beginning text values of XML elements. It was quite rare and strange behaviour.
Now the method characters(...) only adds Strings to buffer and the whole value is trimmed and set in endElement(...) method.
The error was probably related to problems reported by Roman (eXist DB - HTTP access in RRD MA) and Nina (cutting text when service overloaded)
--------------------------------------------------------------------------
> Soon I will focus
> on the service performance issue and try to find other places to
> improve.
I've already tried out XFire instead of Axis. It looks promising, because we will be able to use it as standalone application (instead of deploying it in tomcat; but it may work as tomcat servlet as well).
The problem will be with NMWG classes because they're tightly integrated with SAX/DOM, and XFire uses StAX which combines advantages of both - speed of SAX and easiness of use of DOM.
I'll give Roman all my examples and will probably help him in performance changes.
Maciej
- Re: [pS-dev] pUI strange bahaviour, Szymon Trocha, 07/02/2007
- <Possible follow-up(s)>
- Re: [pS-dev] pUI strange bahaviour, Nina Jeliazkova, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Szymon Trocha, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Nina Jeliazkova, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Szymon Trocha, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Loukik Kudarimoti, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Szymon Trocha, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Loukik Kudarimoti, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Szymon Trocha, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Roman Lapacz, 07/03/2007
- Re: pUI strange bahaviour -- NMWG parser bug fix and XFire, Maciej Glowiak, 07/03/2007
- Re: [pS-dev] Re: pUI strange bahaviour -- NMWG parser bug fix and XFire, Szymon Trocha, 07/03/2007
- Re: [pS-dev] Re: pUI strange bahaviour -- NMWG parser bug fix and XFire, Maciej Glowiak, 07/03/2007
- Re: [pS-dev] Re: pUI strange bahaviour -- NMWG parser bug fix and XFire, Szymon Trocha, 07/03/2007
- Re: pUI strange bahaviour -- NMWG parser bug fix and XFire, Maciej Glowiak, 07/03/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Nina Jeliazkova, 07/02/2007
- Re: ***SPAM*** Re: [pS-dev] pUI strange bahaviour, Szymon Trocha, 07/02/2007
Archive powered by MHonArc 2.6.16.