cartel.com at free.fr
Thu Nov 17 03:12:04 EST 2005
Something seems strange in XMLToObject.deserializeData, the line :
o[sName]["data"] = (sType != "xml2o") ?
oXML.childNodes[x].firstChild.nodeValue : oXML.childNodes[x];
if type of the node is not xml2o you use nodeValue to set the data
field. I think that is not to XMLToObject to choose witch of nodeValue
or childNodes use to fill data. The XMLToObjectDeserializer is more
approriate to that task, and that let us choosing xml structure.
Another strange thing is that you have preferred use a "type" attribute
to switch deserializer's behaviour instead of nodename, why have you
decided to chose this alternative?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 219 bytes
Desc: not available
Url : http://osflash.org/pipermail/pixlib_osflash.org/attachments/20051117/a8c0ec09/cartel.com.vcf
More information about the Pixlib