Nokogiri problem

Hi,

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:
https://github.com/sparklemotion/nokogiri/issues/533

Apparently, it is a problem with libxml, not nokogiri. There is an
unofficial patch attached to this bug which claims to fix it:
https://bugzilla.gnome.org/show_bug.cgi?id=325533

Regards,
Krishna A…

Thanks a lot!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs