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
Comment #1 on 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
I made a slice to correct the issue but I don't know where to commit it...
Comment #2 on issue 942 by tu...@tudorgirba.com: Fame-ImportExport - XML Export - transformation of \n and \t not working. http://code.google.com/p/moose-technology/issues/detail?id=942
Where is the Fame XML import export?
Comment #3 on issue 942 by Aude.Loi...@gmail.com: Fame-ImportExport - XML Export - transformation of \n and \t not working. http://code.google.com/p/moose-technology/issues/detail?id=942
The source code is in the Fame-ImportExport package then in the FMXMLPrinter class and in the primitive method.
The tests are in the Fame-Tests-Core package then in the FMExporterTest.
Comment #4 on issue 942 by tu...@tudorgirba.com: Fame-ImportExport - XML Export - transformation of \n and \t not working. http://code.google.com/p/moose-technology/issues/detail?id=942
Commit your changes to your own public repository (open one on STHub), and then pass the information on the mailing list.
Comment #5 on 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
There is the Slice where the name is the same that this bug topic: MCHttpRepository location: 'http://smalltalkhub.com/mc/VincentBlondeau/MooseStore/main' user: '' password: ''
Comment #6 on 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
Committed under the Fame-ImportExport-VincentBlondeau.19 version and solved
Can be closed !
Updates: Status: Fixed
Comment #7 on issue 942 by usman.bh...@gmail.com: Fame-ImportExport - XML Export - transformation of \n and \t not working. http://code.google.com/p/moose-technology/issues/detail?id=942
marking as fixed because Vincent cannot do it.