Hi!
I'm using libxml for parsing a very big files, up to 200MiB. I'm using
SaxParser for that cos I don't wont to load whole file in to the memory.
Is there any stuff for stopping parsing? For example when i recognized that
tree is not valid. Or I need to wait while all 200MiB would be parsed?
It
In the rdoc for Class LibXML::XML::Reader, in the first example the code reads:
parser = XML::Reader.string("123")
reader.read
Should that instead be:
reader = XML::Reader.string("123")
reader.read
Thanks, also the word "contrast" is spelt "contract" in the rdoc for
Class LibXML::XML::Parser i
I am parsing a whole of imperfectly formed HTML. In doing so, about
1600 errors are generated and dumped to the log/console every time I
parse this feed. Yet it parses fine with the recover option. But the
options for supressing the messages don't appear to work.
Here's my code:
parser = LibXM
Rolf,
Currently we're building a Rails application that uses libxml-ruby
(1.1.3) to parse some documents and loop over its contents with xpath
expressions.
When running the application with Ruby 1.8.7-p72, everything works
flawlessly. With Ruby 1.9.1-p0, however, we get frequent double-linke