Re: [xml] Internationalization issue

Date view Thread view Subject view Author view

From: Vjacheslav Chekushin (slava@lmt.lv)
Date: Thu Jul 20 2000 - 09:06:04 EDT


> Prerequisite: are you using 2.2.0 ? If not upgrade, if yes
> can you send me a copy of your input, I'm surprized.

Hi, Daniel.
Yes, I am using 2.2.0 version of libxml.

My input is :

<?xml version="1.0" encoding="CP1257"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD
/wml_1.1.xml">
<wml>
  <card id="main_card">
    <p align="center"><img src="/wap/lb.wbmp" height="17" width="60"
alt=""/></p>
    <p align="center"><a href="/wap/windex.cfm">Latvijas Bankas noteiktie valÙtu
kursi latos)</a><br/></p>
  </card>
</wml>

But message:
"Entity: line 1: error: xmlSwitchEncoding : no input"
I got always when used another character set from iconv (for example KOI8-R).

And it works when I try use xmlParserFile() function instead of xmlParseMemory()
with the same input

I hope it helps.

-- 
Vjacheslav Chekushin                                mailto:sck@lmt.lv
Latvian Mobile Phone Company                        http://www.lmt.lv
Network Support and Information Technology Group    +371 7773436
                                                    +371 9248248 (mobile)
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:23 EDT