Skip to content

Malloc error with .toJSON(); #8

Description

@CreativeKaizen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions