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.apache.org/xerces2-j/faq-sax.html#faq-2

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

"C.Balakrishnan" <[EMAIL PROTECTED]>  wrote on 03/22/2006 05:44:51 AM:

> Hi,
> 
>      if we have parse the xml using SAX in jdk1.5 environment, it 
> has some problem
> 
> for example
> 
>    <employeeid>
>        <empid>1001</empid>
>        <empid>1002</empid>
>    </employeeid>
> 
>    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 last digit of 2.
> 
> If we have parse the XML using SAX in jdk1.4 environment, it is working 
fine.
> 
> what is the problem in jdk1.5
> 
> 
> please help
> 
> bala
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to