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?

···

--
Posted via http://www.ruby-forum.com/.

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:
https://bugzilla.gnome.org/show_bug.cgi?id=325533

Regards,
Krishna Aradhi.

···

On Sat, Sep 15, 2012 at 12:54 PM, Karthikeyan A k <lists@ruby-forum.com>wrote:

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?

--
Posted via http://www.ruby-forum.com/\.

Thanks a lot!

···

--
Posted via http://www.ruby-forum.com/.