Anonymous | Login | 12-09-2019 08:38 UTC |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||||||||
|
![]() |
|
(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 |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
38 total queries executed. 32 unique queries executed. |