Re: Parser problem in jdk1.5

2006-03-22 Thread Michael Glavassevich
Hi Bala, characters() may be called multiple times for contiguous text. Your ContentHandler needs to accumulate the text returned in each call of characters() until you receive a callback that isn't characters. This issue gets reported so often that it has its own FAQ [1]. [1] http://xerces.ap

Re: Parser problem in jdk1.5

2006-03-22 Thread Joseph Kesselman
Remember that text content may be spread over several successive calls to characters(). (Single most common SAX coding error...) __ Joe Kesselman -- Beware of Blueshift! "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radi

Re: Parser problem in jdk1.5

2006-03-22 Thread Bindul Bhowmik
Bala,Could you please post the chunk of code you are using to parse the XML._ BindulOn 3/22/06, C. Balakrishnan < [EMAIL PROTECTED]> wrote:Hi, if we have parse the xml using SAX in jdk1.5 environment, it has some problemfor example      1001   1002      if we parse the above xml file u

Parser problem in jdk1.5

2006-03-22 Thread C . Balakrishnan
Hi, if we have parse the xml using SAX in jdk1.5 environment, it has some problem for example 1001 1002 if we parse the above xml file using SAX in jdk1.5 environment , it gives frollowing output. output 1001 100 during the parsing , misses the l