Description
Streaming-friendly XML parsers.
Description
Cf README file
README.md
hextream
This library provides Haskell-native, streaming-friendly XML parsers.
Parsers are organized into 3 layers of increasing abstraction level: low, middle and high. Applications will most probably want to rely on the high-level layer.
The library does not define a data type nor parser for a whole XML document. Instead, parsers operate on XML tokens of various sizes, to allow for a usage in a streaming context (e.g. using streaming-attoparsec
, pipes-attoparsec
or conduit-attoparsec
).
The implementation is based on the following specifications:
Caveats
The following parts of the XML standard are not supported:
- external entities
- parameter entities
- the doctype internal subset, except for general entity declarations.