sax-machine
sax-machine copied to clipboard
A declarative sax parsing library backed by Nokogiri.
In case the underlying XML is not valid. In my case, just having unescaped `&` Gemfile: ``` source "https://rubygems.org" gem "sax-machine" gem "nokogiri" ``` test.rb: ``` require "sax-machine" class Child...
Fixes error with Oga handler version of `sax_oga_handler.rb` https://github.com/pauldix/sax-machine/blob/ca445545da757be5841bcde64df8542c3203bc3b/spec/sax-machine/sax_document_spec.rb#L1193-L1195
This PR was inspired by the build failure in #81. It removes the no-longer-supported Ruby versions from the Travis CI matrix. - Source for ruby versions: https://github.com/rbenv/ruby-build/tree/master/share/ruby-build - 2.2 EOL...
This updates rails test to the current version. Rails now requires ActiveRecord classes to have a connection when they are created, so we can use include ActiveModel::Model to test the...
This PR removes two badges which display no current information.
This changes value to `nil` instead of `:no_buffer` when empty element is parsed
In the case of ``, I can't figure out how to work with that attribute (either the value, or the attribute itself). Doing `attribute :"xmlns:content"` give an `invalid attribute name`...
```xml 5 5 Türen Türen 5 5 Sitze Sitze silber Platin-Grau (D69) metallic 2016-06-01 2019-04-01 Dealer-of-the-Year-Sonderpreis ``` ```ruby class Vehicle include SAXMachine element "description", as: :main_description, within: '.' element "description",...
I have the following case: ``` xml ``` And the following mapping: ``` ruby class Root include SAXMachine elements :foo, as: :children, class: Foo end class Meta include SAXMachine elements...