XML parser and line feeds between tags
Laurent Eschenauer <[email protected]> Tue, 16 Dec 2003 14:02:04 +0100
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone, I have an issue with the xml parser in ACL 6.2 (pxml) when using line feeds. Looking at the XML specs, I understand that the XML parser should ignore line feeds and extra whitespace. However when I parse the following file with ACL 6.2 : <team> <person id="b001" name="laurent eschenauer"/> <person id="b002" name="cedric gauthy"/> </team> Using the command :(parse-xml stream :content-only t) I receive: ((team " " ((person id "b001" name "laurent eschenauer")) " " ((person id "b002" name "cedric gauthy")) " ")) As you can see, all line feeds are handled by the parser as token while they should not be visible (according to the XML specs at http://www.xml.com/axml/testaxml.htm). Am I missing something here ? Anyone got a similar problem ? Thank you for your feedback, -Laurent ---------------------------------------------------------------------- Laurent ESCHENAUER R&D Engineer PEPITe S.A. Parc Scientifique du Sart-Tilman Rue Des Chasseurs Ardennais (Spatiopole) B-4031 Angleur (Liege) Belgium Phone : +32 (0) 4 372 93 35 Fax : +32 (0) 4 372 93 20 Email : [email protected] Web: http://www.pepite.be