Fedora Packages

ocaml-markup

Error-recovering streaming HTML5 and XML parsers for OCaml

Markup.ml is a pair of parsers implementing the HTML5 and XML specifications, including error recovery. Usage is simple, because each parser is a function from byte streams to parsing signal streams. In addition to being error-correcting, the parsers are: - **streaming**: parsing partial input and emitting signals while more input is still being received; - **lazy**: not parsing input unless you have requested the next parsing signal, so you can easily stop parsing part-way through a document; - **non-blocking**: they can be used with Lwt, but still provide a straightforward synchronous interface for simple usage; and - **one-pass**: memory consumption is limited since the parsers don't build up a document representation, nor buffer input beyond a small amount of lookahead. The parsers detect character encodings automatically, and emit everything in UTF-8. The HTML parser understands SVG and MathML, in addition to HTML5.

Releases Overview

Release Stable Testing
Fedora Rawhide 1.0.3-16.fc41 -
Fedora 40 1.0.3-14.fc40 -
Fedora 39 1.0.3-9.fc39 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at ocaml-markup dash maintainers at fedoraproject dot org.



Sources on Pagure