comdata / x2js

Automatically exported from code.google.com/p/x2js
0 stars 0 forks source link

'Not enough storage is available to complete this operation' occurs in IE when parsing long XML string #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call 'new X2JS().xml_str2json(longXmlString)', in my case 
longXmlSting.length = 61426685 

What is the expected output? What do you see instead?
I am expect json object but null is returned.

What version of the product are you using? On what operating system and
browser version?
Version: v1.1.4
OS: Windows 7 64x
Browser: IE10/11

Please provide any additional information below.
When debug I have found that error 'Not enough storage is available to complete 
this operation' caught in xml2json.js file line 501.

Original issue reported on code.google.com by vgu...@gmail.com on 1 Oct 2014 at 1:35