Re: Parser failed for unicode characters
"Nikhil C. Khedkar" <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alec, well I will be using PullParser2_1_8_SMALL.jar only. Can you please fix the problem and mail me? I am attaching the xml file. Thanks, Nikhil Khedkar --- Aleksander Slominski <[email protected]> wrote: > 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 > > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------ 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/
i18n.xml
(text/xml, 2.2 KB)
<?xml version="1.0" encoding="utf-8"?> <h xmlns:h="http://www.actuate.com/i18n" xmlns:xsi="http://www.actuate.com/i18n/XMLSchema-instance" xsi:schemaLocation="http://www.actuate.com i18n.xsd"> <h:简体中文> <h:自动换行 简体name="自动换行使您可以看"> 见一行的所有文 </h:自动换行> </h:简体中文> <h:繁體繼承> <h:國台灣 繁體name="中華人民共和國"> 台灣省台北市 </h:國台灣> </h:繁體繼承> <h:大統挙が中盤かり> <h:選挙が中盤 盤かname="大統領選挙が中"> 盤に差し掛かり </h:選挙が中盤> </h:大統挙が中盤かり> <h:민주당이회창후> <h:회창후보 창후name="민주당이회창"> 후보가족등겨냥맞불 </h:회창후보> </h:민주당이회창후> <h:často> <h:ujevelmičasto čaname="internetu vyskytuje"> velmi často a proto nebylo zahrnuto do vašeho vyhledávání </h:ujevelmičasto> </h:často> <h:альна> <h:ниверс льнname="Карагандинская областная"> универсальная научная библиотека </h:ниверс> </h:альна> <h:årHanerfødti> <h:anerfødt årHname="Mester Tung har lavet Tai Chi i mere end 50 år"> Han er født i Hebeiprovinsen i Kina, er opvokset i Hongkong og bor i dag i Los Angeles </h:anerfødt> </h:årHanerfødti> <h:Σελίδα> <h:σαςΣελίδα λίδαname="Κάντενα είναι"> η Αρχική σας Σελίδα </h:σαςΣελίδα> </h:Σελίδα> <h:güncel> <h:süreiçinde üncname="sözcüklerin hepsi"> sözcüklerin hepsi sonuç20Bu süre içinde güncellenmiş web sayfalarına geri dön </h:süreiçinde> </h:güncel> <h:בשאילתות> <h:פשוטותועד אילתname="ה אנו מטפלים בשאילתות פשוטות"> את גוגל שונה ממנועי חיפוש אחרים </h:פשוטותועד> </h:בשאילתות> <h:لكلما> <h:الكلماتالتي كلماname="طلبت البحث عنها"> التي تحتوي على كل </h:الكلماتالتي> </h:لكلما> <h:noteiktās> <h:vaivairākās eiktāname="meklējat tikai"> vienā vai vairākās noteiktās </h:vaivairākās> </h:noteiktās> </h>