h$JECƧ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno p q r s t u v w x y z { | } ~                                                                           None 2<=hextream:A function that describes how to expand entity references.hextream 1https://www.w3.org/TR/REC-xml/#sec-predefined-enthextream +https://www.w3.org/TR/xhtml1/dtds.html#h-A2hextreamCan be combined with . to try multiple decoders, from left to right.None hextreamA qualified name. ,https://www.w3.org/TR/xml-names/#dt-qualname hextream )https://www.w3.org/TR/xml-names/#NT-QName$parseOnly tokenQualifiedName "price"4Right (QName {namePrefix = "", nameLocal = "price"})(parseOnly tokenQualifiedName "edi:price"7Right (QName {namePrefix = "edi", nameLocal = "price"}) hextream *https://www.w3.org/TR/xml-names/#NT-NCNameparseOnly tokenNCName "price" Right "price"parse tokenNCName "edi:price"Done ":price" "edi" hextream &https://www.w3.org/TR/REC-xml/#NT-NameparseOnly tokenName "price" Right "price"parseOnly tokenName "edi:price"Right "edi:price"hextreamBuild a qualified name in a concise way. Prefix is assumed to be empty."foo" :: QName*QName {namePrefix = "", nameLocal = "foo"}  None25<=> hextreamHow to parse tag attributes.hextreamParse any set of attributes.parseOnly (runTokenParser $ tag' anyName anyAttr noContent) ""Right ()parseOnly (runTokenParser $ tag' anyName anyAttr noContent) ""Right ()hextream Assert that no attributes exist.parseOnly (runTokenParser $ tag' anyName noAttr noContent) ""Right ()parseOnly (runTokenParser $ tag' anyName noAttr noContent) ""Left ...hextream.Parse attribute by name, and return its value.parseOnly (runTokenParser $ tag' anyName (attrValue "foo") noContent) ""Left ...parseOnly (runTokenParser $ tag' anyName (attrValue "foo") noContent) ""Right ()hextream;Assert that an attribute exists, with given name and value.parseOnly (runTokenParser $ tag' anyName (hasAttr "foo" "bar") noContent) ""Left ...parseOnly (runTokenParser $ tag' anyName (hasAttr "foo" "bar") noContent) ""Left ...parseOnly (runTokenParser $ tag' anyName (hasAttr "foo" "bar") noContent) ""Right ()hextreamCan be combined with >>=-. Attributes map is forwarded without change.hextreamCan be combined with <|>Nonehextream (https://www.w3.org/TR/REC-xml/#dt-entref)Entity reference, or character reference."hextream Resolve reference into raw text.#hextreamSame as (expandReference decodePredefinedEntities, provided for convenience.$hextream +https://www.w3.org/TR/REC-xml/#NT-Reference!parseOnly tokenReference "<"Right (CharRef '<')$parseOnly tokenReference "&docdate;"Right (EntityRef "docdate")! "#$! "#$None )hextreamParameter entity reference+hextream -https://www.w3.org/TR/REC-xml/#NT-EntityValue/hextream Nhextream   'https://www.w3.org/TR/REC-xml/#NT-CDEndPhextream Rhextream  Uhextream />VhextreamReturn tag name."parseOnly tokenStartTagOpen ":  !"#$)*+.,-/012345678ABCDEFGHIJKLMNOPQRSTUVWXABCDEFGHIJKLMNOPQRSTUVWXNone 25<=>]hextreamHow to parse tag names.`hextreamMatch any qualified name.ahextream5Match any qualified name, except for the given value.parseOnly (runTokenParser $ tag' (anyNameExcept "foo") anyAttr anyContent) ""Left ...parseOnly (runTokenParser $ tag' (anyNameExcept "foo") anyAttr anyContent) ""Right ()chextreamCan be combined with >>=-. Qualified name is forwarded without change.dhextreamMatch a single  in a concise way.parseOnly (runTokenParser $ tag' "foo" anyAttr anyContent) ""Right ()ehextreamCan be combined with <|>]^_`a]^_`aNone hhextream &https://www.w3.org/TR/REC-xml/#dt-attrjhextream +https://www.w3.org/TR/REC-xml/#NT-Attribute$parseOnly attribute "name = 'value'"Right (Attribute (QName {namePrefix = "", nameLocal = "name"}) [ContentText "value"])hijhij Noneohextream )https://www.w3.org/TR/REC-xml/#NT-Comment=parseOnly comment ""*Right " declarations for & "(parseOnly comment ""Right " B+, B, or B-"oo None'phextreamExternal entity identifier (https://www.w3.org/TR/REC-xml/#dt-extentshextream ,https://www.w3.org/TR/REC-xml/#NT-ExternalIDparseOnly externalID "PUBLIC '-//Textuality//TEXT Standard open-hatch boilerplate//EN' 'http://www.textuality.com/boilerplate/OpenHatch.xml'"Right (PublicID "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml")7parseOnly externalID "SYSTEM '../grafix/OpenHatch.gif'"*Right (SystemID "../grafix/OpenHatch.gif")prqsprqs NoneixhextreamProcessing instruction. $https://www.w3.org/TR/REC-xml/#dt-pizhextream $https://www.w3.org/TR/REC-xml/#dt-piparseOnly instruction ""Right (Instruction "xml-stylesheet" "type='text/xsl' href='style.xsl'")xyzxyz None25'hextream *https://www.w3.org/TR/REC-xml/#dt-notationhextream $https://www.w3.org/TR/REC-xml/#dt-PEhextream )https://www.w3.org/TR/REC-xml/#gen-entityhextream -https://www.w3.org/TR/REC-xml/#NT-AttlistDeclMissing: attribute definitionhextream (https://www.w3.org/TR/REC-xml/#dt-eldeclhextreamA parser that consumes whole s.hextream -https://www.w3.org/TR/REC-xml/#NT-elementdeclparseOnly (runTokenParser tokenElementType) ""%Right (ElementType "br" ContentEmpty)parseOnly (runTokenParser tokenElementType) ""*Right (ElementType "container" ContentAny)hextream -https://www.w3.org/TR/REC-xml/#NT-AttlistDeclparseOnly (runTokenParser tokenAttributeList) ""Right (AttributeList "termdef")hextream (https://www.w3.org/TR/REC-xml/#NT-GEDeclparseOnly (runTokenParser tokenGeneralEntity) "";Right (GeneralEntity "d" [ContentReference (CharRef '\r')])parseOnly (runTokenParser tokenGeneralEntity) ""Right (GeneralEntity "da" [ContentReference (CharRef '\r'),ContentReference (CharRef '\n')])parseOnly (runTokenParser tokenGeneralEntity) ""Right (GeneralEntity "Pub-Status" [ContentText "This is a pre-release of the specification."])hextream (https://www.w3.org/TR/REC-xml/#NT-PEDeclparseOnly (runTokenParser tokenParameterEntity) ""2Right (ParameterEntity "YN" [ValueText "\"Yes\""])hextream .https://www.w3.org/TR/REC-xml/#NT-NotationDeclparseOnly (runTokenParser tokenNotation) "".Right (Notation "foo" (SystemID "identifier"))hextream $https://www.w3.org/TR/REC-xml/#dt-pihextream )https://www.w3.org/TR/REC-xml/#NT-Commenthextream Parse any .$oprqsxyz None((hextream +https://www.w3.org/TR/REC-xml/#NT-intSubsethextream +https://www.w3.org/TR/REC-xml/#NT-intSubset  None+hextream )https://www.w3.org/TR/REC-xml/#dt-doctypehextream -https://www.w3.org/TR/REC-xml/#NT-doctypedecl:parseOnly doctype ""Right (Doctype "greeting" (Just (SystemID "hello.dtd")) (InternalSubset {_elementTypes = [], _attributeLists = [], _generalEntities = [], _parameterEntities = [], _notations = [], _instructions = []}))9parseOnly doctype " ]>"Right (Doctype "foo" Nothing (InternalSubset {_elementTypes = [], _attributeLists = [], _generalEntities = [GeneralEntity "x" [ContentReference (EntityRef "lt")]], _parameterEntities = [], _notations = [], _instructions = []}))None 25>?3hextreamA parser that consumes whole s.hextream 'https://www.w3.org/TR/REC-xml/#dt-eetaghextream &https://www.w3.org/TR/REC-xml/#dt-staghextream )https://www.w3.org/TR/REC-xml/#dt-xmldeclhextream -https://www.w3.org/TR/REC-xml/#NT-doctypedeclhextream $https://www.w3.org/TR/REC-xml/#dt-pihextream )https://www.w3.org/TR/REC-xml/#NT-Commenthextream +https://www.w3.org/TR/REC-xml/#dt-cdsectionparseOnly (runTokenParser tokenCdata) "Hello, world!]]>"*Right "Hello, world!"hextream )https://www.w3.org/TR/REC-xml/#NT-XMLDeclparseOnly (runTokenParser tokenXmlDeclaration) ""7Right (XMLDeclaration "1.0" (Just "UTF-8") (Just True))hextream &https://www.w3.org/TR/REC-xml/#NT-STagparseOnly (runTokenParser tokenStartTag) ""Right (StartTag (QName {namePrefix = "", nameLocal = "termdef"}) [Attribute (QName {namePrefix = "", nameLocal = "id"}) [ContentText "dt-dog"],Attribute (QName {namePrefix = "", nameLocal = "term"}) [ContentText "dog"]])parse (runTokenParser tokenStartTag) "2003-12-13T18:30:02Z"Done "2003-12-13T18:30:02Z" (StartTag (QName {namePrefix = "", nameLocal = "updated"}) [])hextream &https://www.w3.org/TR/REC-xml/#NT-ETag3parseOnly (runTokenParser tokenEndTag) ""6Right (QName {namePrefix = "", nameLocal = "termdef"})hextream .https://www.w3.org/TR/REC-xml/#NT-EmptyElemTagparseOnly (runTokenParser tokenEmptyElementTag) ""Right (EmptyElementTag (QName {namePrefix = "", nameLocal = "IMG"}) [Attribute (QName {namePrefix = "", nameLocal = "align"}) [ContentText "left"],Attribute (QName {namePrefix = "", nameLocal = "src"}) [ContentText "http://www.w3.org/Icons/WWW/w3c_home"]])hextream *https://www.w3.org/TR/REC-xml/#NT-CharData6parseOnly (runTokenParser tokenData) "Rock & roll"Right [ContentText "Rock ",ContentReference (EntityRef "amp"),ContentText " roll"]hextream Parse any .&hijoxyzNone 25>CRhextreamHow to parse tag content.hextreamA parser that consumes whole s.hextreamXML document prolog.hextreamAssert that content is not empty, and parse it using given token parser.parseOnly (runTokenParser $ tag' anyName anyAttr (withContent textContent')) "body" Right "body"parseOnly (runTokenParser $ tag' anyName anyAttr (withContent textContent')) ""Left ...parseOnly (runTokenParser $ tag' anyName anyAttr (withContent textContent')) ""Left ...parseOnly (runTokenParser $ tag' anyName anyAttr (withContent $ pure ())) ""Left ...hextreamAssert that content is empty.parseOnly (runTokenParser $ tag' anyName anyAttr noContent) "body"Left ...parseOnly (runTokenParser $ tag' anyName anyAttr noContent) ""Right ()parseOnly (runTokenParser $ tag' anyName anyAttr noContent) ""Right ()hextream,Accept any content, including empty content.parseOnly (runTokenParser $ tag' anyName anyAttr anyContent) "body"Right ()parseOnly (runTokenParser $ tag' anyName anyAttr anyContent) ""Right ()parseOnly (runTokenParser $ tag' anyName anyAttr anyContent) ""Right ()hextreamParse a processing instruction. $https://www.w3.org/TR/REC-xml/#dt-piparseOnly (runTokenParser instruction) ""1Right (Instruction "php" "echo 'Hello World!'; ")parseOnly (runTokenParser instruction) " "1Right (Instruction "php" "echo 'Hello World!'; ")hextream (https://www.w3.org/TR/REC-xml/#NT-prologparseOnly (runTokenParser prolog) ""Right (Prolog {prologXmlDeclaration = Just (XMLDeclaration "1.0" ...), prologInstructions = [], prologDoctype = Just (Doctype "greeting" ...)})parseOnly (runTokenParser prolog) " "Right (Prolog {prologXmlDeclaration = Just (XMLDeclaration "1.0" ...), prologInstructions = [], prologDoctype = Just (Doctype "greeting" ...)})hextream0Parse textual content of a tag, including CDATA.hextreamSame as  decodeHtmlEntities), provided for convenience.parseOnly (runTokenParser $ tag' anyName anyAttr (withContent textContent')) "bodyinnerbody]]>"*Right "bodyinnerbody"hextreamGeneric tag parser.hextreamSimplified version of :no state forwarding between name, attributes and content parsersuses .decodePredefinedEntities <> decodeHtmlEntities to expand entity referenceshextream:Parse a tag with any name, any attributes and any content.?parseOnly (runTokenParser anyTag) "body"Right ()6parseOnly (runTokenParser anyTag) ""Right ()parseOnly (runTokenParser anyTag) ""Right ()parseOnly (runTokenParser anyTag) "body"Right ()hextream Parse any .hextreamSame as 9anyToken (decodePredefinedEntities <> decodeHtmlEntities), provided for convenience.hextreamHow to expand entity referenceshextreamHow to parse tag namehextreamHow to parse tag attributeshextreamHow to parse tag contenthextreamHow to parse tag namehextreamHow to parse tag attributeshextreamHow to parse tag content%]^_`a !""#$%&'()*+,-./01234567789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijjklmnopqrsttuvwxy z { | } ~                                                                                     'hextream-0.3.0.0-FovnUJwHCI6IHnntmms1KlData.XML.Parser.Low.EntityData.XML.Parser.Low.NameData.XML.Parser.High.AttrParserData.XML.Parser.Low.Reference"Data.XML.InternalSubset.Parser.LowData.XML.Parser.LowData.XML.Parser.High.NameParserData.XML.Parser.Mid.AttributeData.XML.Parser.Mid.CommentData.XML.Parser.Mid.ExternalIDData.XML.Parser.Mid.Instruction"Data.XML.InternalSubset.Parser.Mid#Data.XML.InternalSubset.Parser.HighData.XML.Parser.Mid.DoctypeData.XML.Parser.MidData.XML.Parser.High EntityDecoderrunEntityDecoderdecodePredefinedEntitiesdecodeHtmlEntities$fMonoidEntityDecoder$fSemigroupEntityDecoderQName namePrefix nameLocaltokenQualifiedName tokenNCName tokenName$fIsStringQName $fEqQName $fOrdQName $fReadQName $fShowQName AttrParser runAttrParseranyAttrnoAttr attrValuehasAttr$fMonadFailAttrParser$fMonadAttrParser$fAlternativeAttrParser$fApplicativeAttrParser$fFunctorAttrParser Reference EntityRefCharRefexpandReferenceexpandReference'tokenReference $fEqReference$fOrdReference$fReadReference$fShowReferenceParameterEntityRef EntityValue ValueTextValueParameterEntityRefValueReferencetokenEntityOpentokenElementTypeOpentokenElementTypeContentEmptytokenElementTypeContentAnytokenAttributeListOpen tokenPercenttokenNotationOpen tokenPublictokenParameterEntityReftokenEntityValue$fEqEntityValue$fOrdEntityValue$fReadEntityValue$fShowEntityValue$fEqParameterEntityRef$fOrdParameterEntityRef$fReadParameterEntityRef$fShowParameterEntityRefContent ContentTextContentReference expandContentexpandContentstokenSingleQuotetokenDoubleQuote tokenQuotetokenWhitespace tokenEqual tokenContenttokenInstructionOpentokenInstructionClosetokenCdataOpentokenCdataClosetokenCommentOpentokenCommentClosetokenDoctypeOpentokenXmlDeclarationOpentokenXmlDeclarationClosetokenEmptyElementTagClosetokenStartTagOpentokenEndTagOpentokenElementClose $fEqContent $fOrdContent $fReadContent $fShowContent NameParser runNameParseranyName anyNameExcept$fMonadFailNameParser$fMonadNameParser$fIsStringNameParser$fAlternativeNameParser$fApplicativeNameParser$fFunctorNameParser Attribute attribute $fEqAttribute$fOrdAttribute$fReadAttribute$fShowAttributecomment ExternalIDPublicIDSystemID externalID$fEqExternalID$fOrdExternalID$fReadExternalID$fShowExternalID Instruction instruction$fEqInstruction$fOrdInstruction$fReadInstruction$fShowInstructionNotationParameterEntity GeneralEntity AttributeList ElementType TokenParserrunTokenParserTokenTokenElementTypeTokenAttributeListTokenGeneralEntityTokenParameterEntity TokenNotationTokenInstruction TokenCommenttokenElementTypetokenAttributeListtokenGeneralEntitytokenParameterEntity tokenNotationtokenInstruction tokenCommentanyToken$fMonadFailTokenParser $fEqToken $fOrdToken $fShowToken $fEqNotation $fOrdNotation$fReadNotation$fShowNotation$fEqParameterEntity$fOrdParameterEntity$fReadParameterEntity$fShowParameterEntity$fEqGeneralEntity$fOrdGeneralEntity$fReadGeneralEntity$fShowGeneralEntity$fEqAttributeList$fOrdAttributeList$fReadAttributeList$fShowAttributeList$fEqElementType$fOrdElementType$fReadElementType$fShowElementType$fEqElementTypeContent$fOrdElementTypeContent$fReadElementTypeContent$fShowElementTypeContent$fMonadTokenParser$fAlternativeTokenParser$fApplicativeTokenParser$fFunctorTokenParserInternalSubset _elementTypes_attributeLists_generalEntities_parameterEntities _notations _instructionsemptyInternalSubsetinternalSubset$fEqInternalSubset$fOrdInternalSubset$fReadInternalSubset$fShowInternalSubsetDoctypedoctype $fEqDoctype $fOrdDoctype $fReadDoctype $fShowDoctypeEmptyElementTagStartTagXMLDeclarationTokenXMLDeclaration TokenDoctype TokenStartTag TokenEndTagTokenEmptyElementTag TokenData TokenCDATA tokenDoctype tokenCdatatokenXmlDeclaration tokenStartTag tokenEndTagtokenEmptyElementTag tokenData$fEqEmptyElementTag$fOrdEmptyElementTag$fReadEmptyElementTag$fShowEmptyElementTag $fEqStartTag $fOrdStartTag$fReadStartTag$fShowStartTag$fEqXMLDeclaration$fOrdXMLDeclaration$fReadXMLDeclaration$fShowXMLDeclaration ContentParser TokenPrologTokenTagTokenTextContentPrologprologXmlDeclarationprologInstructions prologDoctype withContent noContent anyContentprolog textContent textContent'tagtag'anyTag anyToken' $fReadToken $fEqProlog $fOrdProlog $fReadProlog $fShowProlog$fFunctorContentParserbaseGHC.Base<>