Article View: fr.comp.text.xml
Article #10503pb de parsing de fichier XML
From: Alexandre Touret
Date: Mon, 30 Oct 2000 14:13
Date: Mon, 30 Oct 2000 14:13
22 lines
1613 bytes
1613 bytes
j utilise le parser d IBM pour java 2.0
je n arrive pasa parser 1 fichier XML correct sous Unix.
je pense que le pb vient du decodage des caracteres speciaux (avec
accents).
j utilise la methode du parser: parser.setEncoding("ISO8859-1");
le decodage fonctionne sous Windows 2000, mais plante sous Unix SOLARIS.
voici le message d erreur:
parser.err: -1, -1: Invalid UTF-8 code. (bytes: 0xfffffff4 0x74)
parser.err: -1, -1: Invalid UTF-8 code. (bytes: 0xfffffff4 0x74 0x65)
parser.err: -1, -1: Invalid UTF-8 code. (bytes: 0xfffffff4 0x74 0x65
0x73)
merci d avance de votre aide
Alexandre Touret
mailto:atouret@axlan.fr
Technical Details
Message-ID:
<39FD8207.B9122FE6@axlan.fr>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!sn-xit-uk!supernews.com!193.162.153.122.MISMATCH!news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit X-Google-Thread: 114f60,d1d7ccf821cf8f7b,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2000-10-30 06:05:02 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!sn-xit-uk!supernews.com!193.162.153.122.MISMATCH!news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: Alexandre Touret <atouret@axlan.fr> Newsgroups: fr.comp.text.xml Subject: pb de parsing de fichier XML Date: Mon, 30 Oct 2000 15:13:27 +0100 Organization: Axlan Lines: 22 Message-ID: <39FD8207.B9122FE6@axlan.fr> NNTP-Posting-Host: dyn-1-2-099.def.dialup.oleane.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: s1.read.news.oleane.net 972914668 30849 195.25.27.99 (30 Oct 2000 14:04:28 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 30 Oct 2000 14:04:28 +0000 (UTC) X-Mailer: Mozilla 4.7 [fr] (WinNT; I) X-Accept-Language: fr