Nokogiri problem


I am using Nokogiri to validate a large XML file (more than 300,000
using an XSD) lines. But the problem is when I have a error on line that
exceeds 65,535 I still get the error is on line 65,535.

I know this is a limit for integer in 32-bit OS (but I use Ubuntu
64-bit), is there any way to get around it? Or the inventors of nokogiri
haven’t contemplated using such a big XML file?

This issue has been raised before:

Apparently, it is a problem with libxml, not nokogiri. There is an
unofficial patch attached to this bug which claims to fix it:

Krishna A…

Thanks a lot!