GNOME Bugzilla – Bug 796192
libxml2, xml file reader issue when file size is greater than 2GB
Last modified: 2021-07-05 13:25:46 UTC
I am using libxml2-2.9.3 in my c++ project and facing issue while Reading xml file greater than 2GB . I am using API xmlReaderForFile() that is returning null ptr if file size is greater than 2GB. I tried with XML_PARSE_HUGE parameter but no luck. I have windows 10 x64, even compiled library in x64 mode. After debugging its code. it seems that for file stats, its calling 32bit methods of OS instead of x64. There must be a way/support in Libxml2 for calling x64 methods of OS for file stats.
This looks like a libxml2 bug. Why did you file it to libxml++?
hi Kjell Ahlstedt, I didn't noticed that. updated with the specific version and component too. Still waiting for the answer to the issue I am facing.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.