Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000033 [Squeak Packages] XML-Yaxo minor always 07-13-04 03:24 10-31-07 17:30
Reporter michael View Status public  
Assigned To michael
Priority normal Resolution fixed  
Status resolved  
Summary 0000033: Wrong whitespace handling?
Description 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.
Additional Information
Attached Files  XMLTokenizer-LeadingWhitespaceFix.2.cs [^] (1,930 bytes) 06-06-07 12:30

- Relationships

- Notes
(0010779 - 127 - 127 - 127 - 127 - 127 - 127)
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 - 29 - 29 - 29 - 29 - 29 - 29)
michael
10-31-07 17:30

incorporated the proposed fix
 

- Issue History
Date Modified Username Field Change
07-13-04 03:24 michael New Issue
07-13-04 03:25 michael Status new => assigned
07-13-04 03:25 michael Assigned To  => michael
08-11-05 19:00 MarcusDenker Project Squeak => Squeak Packages
06-06-07 12:29 GazzaGuru Note Added: 0010779
06-06-07 12:30 GazzaGuru File Added: XMLTokenizer-LeadingWhitespaceFix.2.cs
10-31-07 17:30 michael Status assigned => resolved
10-31-07 17:30 michael Resolution open => fixed
10-31-07 17:30 michael Note Added: 0011410


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
44 total queries executed.
34 unique queries executed.
Powered by Mantis Bugtracker