Closed Bug 725931 Opened 14 years ago Closed 12 years ago

Firefox is unable to parse large xml

Categories

(Core :: XML, defect)

13 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jithin1987, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0a1) Gecko/20120209 Firefox/13.0a1 Build ID: 20120209031242 Steps to reproduce: I was trying to load a 1.1 M xml from a Webservice output Actual results: Fiirefox is not able to parse it properly. It gives error at different line numbers on each try. XML Parsing Error: unclosed token Expected results: It should have loaded the xml correctly. Chrome loads the XML correctly. I am also facing a similar issue with large JSON files. Json view addon exhibits the same behavior as the XML one I am reporting here. It breaks in middle.
Please provide a testcase
I dont have a test case since the one in which I got this error is from a service internal to our company. The service returns xml and I requested 500 hits at which point it broke.
Can you generate a sample file that does not contain private data? Maybe th author of the application could.
(In reply to :aceman from comment #3) > Can you generate a sample file that does not contain private data? Maybe th > author of the application could. I will try to generate the data. But I am not sure how to go about it. If I strip out my company specific data then how will I generate data of same size. From what I observe when parsing breaks and if I do view source I can see that the xml is not fully loaded. I observe the same with json view addon. Json data is not fully loaded when its trying to parse. (Though json is fully loaded without the addon) I am wondering if this is a case when the parser logic mistakenly thinks that the end of stream has reached.
Hi Jithin, sorry this went unanswered for so long, but at this point I don't think we have enough information to reproduce the bug. I'm closing the report. If you still have this issue can you let us know? Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Component: Untriaged → XML
Product: Firefox → Core
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.