Jave run-time 1.6+ mismatch with xercesImpl.jar?

2008-04-11 Thread Feng Chen
Hi, Gurus. I am using the latest xercesImpl.jar; xml-apis.jar from release 2.9.1 and Java run-time 1.6 update 5. When processing (read) a xml file, it seems I cannot read some attribute value completely for example, if the value is "false", it just gets "fals" or "fal" if the v

Re: Jave run-time 1.6+ mismatch with xercesImpl.jar?

2008-04-11 Thread Michael Glavassevich
Do you really mean an attribute value? e.g. or element content? e.g. false If it's the latter and you're using SAX you should know that characters() may be called multiple times [1][2] for contiguous text. Your ContentHandler needs to accumulate the text returned in each call of characters() u

Re: Jave run-time 1.6+ mismatch with xercesImpl.jar?

2008-04-11 Thread Feng Chen
Thanks a lot, Michael: Mine is element content. I will look into it with your suggestion. I used an older xercesImpl.jar before and it is OK, but that one is not compatible with Java SE 6 (just get run-time 1.6 update 5 installed and it doesn't use 1.5 any more). Will keep you posted. Re