xml:parse() fails with "Huge input lookup"
Bug #1073754 reported by
Alexey Stukalov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Nicolae Brinza |
Bug Description
When compiled against libxml2 2.9.0 certain scripts that use xml:parse() function fail to process reasonably large files with the following error:
xml:parse(): loader parsing error: internal error: Huge input lookup
This is because at least in 2.9.0 it's required to set XML_PARSE_HUGE option in XmlContext before parsing big files.
The relevant place to do this is e.g. in XmlLoader:
When this flag is set the error goes away.
Changed in zorba: | |
assignee: | nobody → Nicolae Brinza (nbrinza) |
importance: | Undecided → Medium |
tags: | added: xml-parser |
tags: | added: segfault |
To post a comment you must log in.