HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulehxt-9.3.1.22Haskell2010

Text.XML.HXT.Arrow.XmlState.ErrorHandling

the basic state arrows for XML processing

A state is needed for global processing options, like encoding options, document base URI, trace levels and error message handling

The state is separated into a user defined state and a system state. The system state contains variables for error message handling, for tracing, for the document base for accessing XML documents with relative references, e.g. DTDs, and a global key value store. This assoc list has strings as keys and lists of XmlTrees as values. It is used to store arbitrary XML and text values, e.g. user defined global options.

The user defined part of the store is in the default case empty, defined as (). It can be extended with an arbitray data type

  • 22 values
  • Packagehxt-9.3.1.22
  • Exports22
  • LanguageHaskell2010
  • LicenceMIT
  • SourceErrorHandling.hs

if error messages are collected by the error handler for processing these messages by the calling application, this arrow reads the stored messages and clears the error message store