Improved
1.0.0-rc2 – Tweak it up
Features:
- Add additional shortcut encodeToStream and decodeFromStream functions that provide direct access to streams (similar to the serialization-io support for sinks/sources).
- Add support for resolving elements with ID attributes to
XML.XMLInput. This still requires a custom (de)serializer. - Add a new
XmlDeclModeconstant (IfRequired) that will write a minimal declaration for XML 1.1, but not for XML 1.0.
Changes:
- Change the entry point for configuration to
XML.v1instead ofXML1_0(it is deprecated, to be removed in the final 1.0 release). It should be noted thatXML.recommended,XML.fastand their versioned equivalents are also available.
Fixes:
- Reading unknown entities is now checked in various cases (and no longer read as an empty string)
- Fix some errors in handling ID attributes (
@XmlIDannotation). - Fix some issues with writing of xml declarations in XML 1.0 mode.