Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

[Help] How to deal with large xml?


I got an error : “Excessive depth in document: 256 use XML_PARSE_HUGE option Extra content at the end of the document” when I tried to import caese.

How do I solve this?



Hi Alston,

Thanks for your posting! We haven’t seen this issue before and based on the error message, it’s likely that the XML format isn’t quite right (e.g. the XML tags aren’t closed correctly). How did you generate the XML file? Could you send us a sample file to



I have found that my converted cases has some issue to cause the section hierarchic too deep to cause this problem.

After I fix the issue and the problem solved. Thanks.



Hi Alston,

Thanks for the update and great to hear that it works now!