This is a little bit confusing; the SAX parser is stateful and the `<<` method has side-effects (in the library bindings used by nokogiri).  I added tests for the parser that show that this is in fact working properly.