Safe Haskell | None |
---|---|
Language | Haskell98 |
- type HParser = ByteString -> Bool -> IO (ForeignPtr Word8, CInt, Maybe XMLParseError)
- hexpatNewParser :: Maybe Encoding -> Maybe (ByteString -> Maybe ByteString) -> Bool -> IO (HParser, IO XMLParseLocation)
- encodingToString :: Encoding -> String
- data Encoding
- data XMLParseError = XMLParseError String XMLParseLocation
- data XMLParseLocation = XMLParseLocation {}
Documentation
type HParser = ByteString -> Bool -> IO (ForeignPtr Word8, CInt, Maybe XMLParseError) Source #
:: Maybe Encoding | |
-> Maybe (ByteString -> Maybe ByteString) | Entity decoder |
-> Bool | Whether to include input locations |
-> IO (HParser, IO XMLParseLocation) |
encodingToString :: Encoding -> String Source #
data XMLParseError Source #
Parse error, consisting of message text and error location
data XMLParseLocation Source #
Specifies a location of an event within the input text
XMLParseLocation | |
|