Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003082 [Squeak Packages] XML-Yaxo major always 02-24-06 14:42 10-31-07 16:25
Reporter pmm View Status public  
Assigned To michael
Priority high Resolution fixed  
Status resolved  
Summary 0003082: YAXO doesn't handle text properly
Description YAXO XML serialization doesn't handle text properly. Run the following code to see an example, the XML generated by YAXO is not well formed and thus can not be parsed by YAXO again.

    | originalDcoument originalTop newDocument newTop |
    originalDcoument := XMLDocument new
        version: '1.0';
        encoding: 'UTF-8';
        yourself.
    originalTop := XMLElement named: 'top'.
    originalTop addContent: (XMLStringNode string: ']>><').
    originalDcoument addElement: originalTop.
    newDocument := XMLDOMParser parseDocumentFrom: (String streamContents: [ :stream |
        originalDcoument printCanonicalOn: stream ]) readStream.
    newTop := newDocument topElement.
    self assert: [ newTop characterData = ']>><' ].
Additional Information
Attached Files

- Relationships

- Notes
(0011408 - 71 - 71 - 71 - 71 - 71 - 71)
michael
10-31-07 16:25

assume it's the same problems as in 0034 and now fixed in 3.8.2 and 3.9
 

- Issue History
Date Modified Username Field Change
02-24-06 14:42 pmm New Issue
03-01-06 19:28 MarcusDenker Project Squeak => Squeak Packages
07-17-06 20:22 MarcusDenker Status new => assigned
07-17-06 20:22 MarcusDenker Assigned To  => michael
10-31-07 16:25 michael Status assigned => resolved
10-31-07 16:25 michael Resolution open => fixed
10-31-07 16:25 michael Note Added: 0011408


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