hexml

XML subset DOM parser https://github.com/ndmitchell/hexml#readme

Version on this page:0.3.1
LTS Haskell 8.2:0.3.1
Stackage Nightly 2017-02-22:0.3.1
Latest on Hackage:0.3.1
BSD3 licensed and maintained by Neil Mitchell

Module documentation for 0.3.1

Hexml Hackage version Stackage version Linux Build Status Windows Build Status

An XML DOM-style parser, that only parses a subset of XML, but is designed to be fast. In particular:

  • Entities, e.g. &, are not expanded.
  • Not all the validity conditions are checked.
  • No support for <!DOCTYPE related features.

The name "hexml" is a combination of "Hex" (a curse) and "XML". The "X" should not be capitalised because the parser is more curse and less XML.

Hexml may be suitable if you want to quickly parse XML, from known sources, and a full XML parser has been shown to be a bottleneck. As an alternative to hexml, which supports things like entities but is still pretty fast, see Pugixml (with a Haskell binding).

Changes

Changelog for Hexml

0.3.1
#9, don't walk off the end of the character table
0.3
#8, Mac compatibility
Fix a bug when parsing closing comments
#7, prefix all the C functions with hexml_
0.2
#6, remove buffer overruns
#5, add lower bounds
0.1
Initial version
Depends on:
comments powered byDisqus