🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9107

Question sur Xerces 1.2.1

#9107
From: DDT
Date: Wed, 30 May 2001 11:10
37 lines
1809 bytes
Bonjour,

J'utilise le parser org.apache.xerces.parsers.SAXParser

Lors du parsing d'un fichier XML, Xerces appelle la m�thode characters(.
.) du DefaultHandler � chaque fois qu'il rencontre un retour chariot.

Exemple  Lx �tant ne num�ro de la ligne ( ne fait pas parti du fichier �
videmment)
------------------------------
L1 <?xml version="1.0"?>
L2
L3 <point_entree>
L4	<!-- Commentaire -->
L5	<portail protocol="http" "/>  
L6                                      
L7	<!-- Commentaire -->
L8	<wte hostname="server_web" />
L9 </point_entree>
------------------------------

Le parser appelle la m�thode charaters pour les lignes L5, L6 et L8.


Est-ce le comportement normal ?
Si non comment faire pour �viter �a ?


Merci pour votre aide.





=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Article poste via Voila News - http://www.news.voila.fr
Le : Wed May 30 13:10:45 2001 depuis l'IP : 195.6.68.146 [VIP 1584631]
Technical Details
Message-ID: <9f2kfl$qr5$1@news.x-echo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!x-echo.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,2a80f18b7e6c752b,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-05-30 04:10:46 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!x-echo.com!not-for-mail
From: DDT <anonyme@195.6.68.146>
Newsgroups: fr.comp.text.xml
Subject: Question sur Xerces 1.2.1
Date: 30 May 2001 11:10:45 GMT
Organization: 195.6.68.146 via Pages News
Lines: 37
Message-ID: <9f2kfl$qr5$1@news.x-echo.com>
NNTP-Posting-Host: news-front1-0-0.voila.fr
X-Trace: news.x-echo.com 991221045 27493 195.101.94.106 (30 May 2001 11:10:45 GMT)
X-Complaints-To: abuse@x-echo.com
NNTP-Posting-Date: 30 May 2001 11:10:45 GMT