During tests on iOS I got stuck with some XML string (http://rdlpzg.gis-net.pl/geoserver-zg/wms/?request=GetCapabilities&service=WMS).
Creating an object works fine:
//responseText is AJAX response from Ti.Network.HTTPClien var xml = new XMLTools(this.responseText);
but using .toJSON():
xml.toJSON();
casue malloc (memory allocation) error and freezes the app.
If there is no good way to work with long XMLs then there should be some safety gauge which would prevent occuring such error (try/catch doesn't work in this case).
Regards and thanks for great work.
During tests on iOS I got stuck with some XML string (http://rdlpzg.gis-net.pl/geoserver-zg/wms/?request=GetCapabilities&service=WMS).
Creating an object works fine:
//responseText is AJAX response from Ti.Network.HTTPClien var xml = new XMLTools(this.responseText);but using .toJSON():
xml.toJSON();casue malloc (memory allocation) error and freezes the app.
If there is no good way to work with long XMLs then there should be some safety gauge which would prevent occuring such error (try/catch doesn't work in this case).
Regards and thanks for great work.