cedric_nicolas
|
|
« on: January 14, 2009, 09:34:27 » |
|
Hi everybody.
We have maybe found a bug in XMLDatabaseProxy.as, in the write() function.
In this code
protected function write():void { // Get the string representation of the XML database var dbOut:String = '<?xml version="1.0" encoding="utf-8"?>\n'; dbOut += data.toString(); dbOut = dbOut.replace(/\n/g, File.lineEnding);
we have replaced data.toString(); by data.toXMLString(); indeed, with data.toString(); the XML contained in data was translated as a null string. Now it works.
Maybe we had something wrong ?
|