Mantis - Squeak Packages
Viewing Issue Advanced Details
33 XML-Yaxo minor always 07-13-04 03:24 10-31-07 17:30
michael  
michael  
normal  
resolved  
fixed  
none    
none  
0000033: Wrong whitespace handling?
I'm working on an importer for OpenOffice documents and I found
something that seems a bug in Yaxo.

The problem is in XMLTokenizer>>nextEntity. The first line reads:

   self nextWhitespace.

And it causes that strings starting with space are wrong processed.

The fix is trivial, just remove this line in this method.

I fixed this method in my copy and now my importer works fine but I'm
not sure if this modification impacts on other works.
 XMLTokenizer-LeadingWhitespaceFix.2.cs [^] (1,930 bytes) 06-06-07 12:30

Notes
(0010779)
GazzaGuru   
06-06-07 12:29   
Run into the same myself. See the attached change set for a proposed fix that still handles whitespace skipping for non-PCDATA.
(0011410)
michael   
10-31-07 17:30   
incorporated the proposed fix