From: Laurent Eschenauer

Subject: XML parser and line feeds between tags

Date: 2003-12-16 8:05

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 : <pepite.be at laurent>
Web: http://www.pepite.be