Article View: fr.comp.text.xml
Article #8544SAX and Ignorable_Whitespace handler
From: Emmanuel Briot
Date: Fri, 28 Sep 2001 10:46
Date: Fri, 28 Sep 2001 10:46
36 lines
1807 bytes
1807 bytes
J'essaye de comprendre comment un parser SAX est cense appeller le handler
Ignorable_Whitespace:
Si on prend l'exemple suivant:
<foo xml:space='default'> Un text </foo>
Est ce que le parser doit appeller la sequence suivante:
Ignorable_Whitespace (" ");
Characters ("Un");
Ignorable_Whitespace (" ");
Characters ("text");
Ignore_Whitespace (" ");
ou plutot
Ignorable_Whitespace (" ");
Characters ("Un text");
Ignore_Whitespace (" ");
Ou encore
Characters (" Un text ");
En fait, un pointeur vers une application qui aurait ce genre de chose
m'arrangerait eventuellement (je ne m'interesse qu'a la sequence des appels,
pas vraiment au produit lui-meme).
merci d'avance
Emmanuel
Technical Details
Message-ID:
<m3adzfk353.fsf@lyon.act-europe.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!teaser.fr!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit X-Google-Thread: 114f60,f6bb30c658e0f6b0,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-09-28 03:46:27 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!teaser.fr!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mail Sender: briot@lyon.act-europe.fr Newsgroups: fr.comp.text.xml Subject: SAX and Ignorable_Whitespace handler From: Emmanuel Briot <briot@act-europe.fr> Reply-To: briot@act-europe.fr Message-ID: <m3adzfk353.fsf@lyon.act-europe.fr> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Sep 2001 10:46:26 GMT NNTP-Posting-Host: 213.228.58.160 X-Complaints-To: abuse@proxad.net X-Trace: nnrp1.proxad.net 1001673986 213.228.58.160 (Fri, 28 Sep 2001 12:46:26 CEST) NNTP-Posting-Date: Fri, 28 Sep 2001 12:46:26 CEST Organization: Guest of ProXad - France