- Add
Xmlm.pp_{dtd,name,attribute,tag,signal}
- Safe-string support.
- Build depend on topkg.
- Relicense from BSD3 to ISC.
Xmlm.output
, illegal XML Unicode characters in Data signals or attribute values are output as U+FFFD (thanks to David Sheets for insisting that something should be done about that).- Deprecate the ability to IO multiple documents from the same IO abstraction.
- Deprecate the functorial interface.
- OPAM friendly workflow and drop OASIS support.
- OASIS 0.3.0 support.
- OASIS support.
- Fixes a bug in the UTF-16 decoder.
- Fixes a bug in
Xmlm.make_output
with a custom function. Thanks to Konstantinas Myalo for the report and the patch. - New optional argument
decl
toXmlm.make_output
to control whether the XML declaration should be output. - New function
Xmlm.output_depth
, returns the current element nesting level.
- Replaced a (non tail-recursive) use of
List.map
.
- POSIX compliant build shell script (thanks to Michael D Ekstrand).
- Support for Debian packaging.
- Streaming IO api with support to IO arborescent data structures.
- Proper XML namespace support, all names are expanded names.
- Whitespace stripping respects the xml:space attributes.
- Xmlm.Make functor to use other types for strings and internal buffers.
- UTF-8 encoded documents can start with an UTF-8 encoded BOM.
Xmlm.encoding
becomes a polymorphic variant.Xmlm.error
becomes a polymorphic variant and the "E_" prefix is dropped.- Removed the callback api.
- Removed the tree and cursor api.
test/xhtml.ml
has a mapping from XHTML entities to their UTF-8 sequence.- Build system switched from make to ocamlbuild
- First release.