Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 942 by v.blonde...@gmail.com: Fame-ImportExport - XML Export - transformation of \n and \t not working. http://code.google.com/p/moose-technology/issues/detail?id=942
In the class FMXMLPrinter of the Fame-ImportExport package, the method 'primitive:' doesn't remplace the Character cr by \n and Character tab by \t as expected in the source code. Indeed the affectation of the local block variable by this line of code :
char = $n
doesn't work.
The result expected is : '<?xml version="1.0"?> <Document> <Element name="FAMIX.Comment" id="1"> <Attribute name="content"> <String value="This is a test"\n\t"/> </Attribute> </Element> </Document>'
What we have actually : '<?xml version="1.0"?> <Document> <Element name="FAMIX.Comment" id="1"> <Attribute name="content"> <String value="This is a test"\ \ "/> </Attribute> </Element> </Document>'
Platform : Win7, Pharo 2.0