Re: Parser failed for unicode characters
Aleksander Slominski <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Nikhil C. Khedkar wrote: >Hi All, > I am using XML PullParser >(PullParser2_1_8_SMALL.jar). I want to parse a XML >document or a schema file, where the element and >attribute names are in unicode. Currently the parser >is failing to parse these documents. > hi, this is XPP2 (PullParser2) and this is previous version that *does not* implement XmlPull API (so it is better post this to xgws-user mailing list see: http://www.extreme.indiana.edu/xgws/#mail) please try instead XPP3 (currently xpp3_1_1_2). >Is this feature >not supported or I have not set some parser variable >or problem with encoding. The InputStream provided to >the parser is in UTF-8 encoding. > this definitely looks like a bug in XPP2. i think it was one of things to fix in XPP2 - look for TODO in Tokenizer.readName() - that was never fixed as XPP3 deprecated XPP3 so please try first XPP3 as it should work OK if you still have this problem please send me a sample XML document that is UTF8 encoded and that i can use for testing. if you have to use XPP2 i can also look on fixing it but i need the sample XML as well. thanks, alek -- The ancestor of every action is a thought. - Ralph Waldo Emerson ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/2U_rlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/