oga/spec
Yorick Peterse d8b9725b82 Fixed SAX parsing of XML attributes.
This was utterly broken, mainly due to me overlooking it. There are now 2 new
callbacks to handle this properly:

* on_attribute: to handle a single attribute/value pair
* on_attributes: to handle a collection of attributes (as returned by
  on_attribute)

By default on_attribut returns a Hash, on_attributes in turn merges all
attribute hashes into a single one. This ensures that on_element _actually_
receives the attributes as a Hash, instead of an Array with random
nil/XML::Attribute values.
2015-03-21 01:22:59 +01:00
..
oga Fixed SAX parsing of XML attributes. 2015-03-21 01:22:59 +01:00
support Removed RSpec shared examples. 2014-11-10 00:06:26 +01:00
spec_helper.rb Removed RSpec shared examples. 2014-11-10 00:06:26 +01:00