sweet_xml v0.7.3 Release Notes

Release Date: 2022-04-11 // about 2 years ago
  • 🔄 Changed

    • Handling the option {:rules, _} ourselve, as well as partially the option {:rules, _, _, _}. When nothing is given, a new table is created, and destroyed after. If a table is given, and a DTD option is chosen, the table is reused for the DTD handling. If a custom {:rules, _, _, _} is given, and a restrictive DTD option is chosen, the custome rule will be overriden. Because of this mutual exclusivity (reconciling the behaviors is not possible via composition), it is recommended that you handle the DTD problem by yourself. You can see the issue #71 for ideas. See the issue #41 for more details on why this change happened. (Ets leaks.)

Previous changes from v0.7.2

  • 🔄 Changed

    • 👌 Improvement on the doc, notably warning that only XPath 1.0 queries are handled.

    ➕ Added

    • Contribution from @tank-bohr: Added strict stream API with a more coherent overall behavior, and easier to handle failure behavior: stream!/2 and stream_tags!/2,3 are now available.