Ox v2.3.0 Release Notes

Release Date: 2016-02-21 // about 8 years ago
  • โž• Added

    • โž• Added Ox::Element.replace_text() method.
    • A invalid_replace option has been added. It will replace invalid XML character with a provided string. Strict effort now raises an exception if an invalid character is encountered on dump or load.

    ๐Ÿ”„ Changed

    • ๐Ÿ“œ Ox.load and Ox.parse now allow for a callback block to handle multiple top level entities in the input.
    • ๐Ÿ“œ The Ox SAX parser now supports strings as input directly without and IO wrapper.

    ๐Ÿ›  Fixed

    • Ox::Element nodes variable is now always initialized to an empty Array.
    • Ox::Element attributes variable is now always initialized to an empty Hash.