h& b      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno p q r s t u v w x y z { | } ~                                                      Safe-Inferred xml-basic%Lookup a numeric entity, the leading '#' must have already been removed. numberToChar "65" == Success 'A' numberToChar "x41" == Success 'A' numberToChar "x4E" === Success 'N' numberToChar "x4e" === Success 'N' numberToChar "Haskell" == Exception "..." numberToChar "" == Exception "..." numberToChar "89439085908539082" == Exception "..."It's safe to use that for arbitrary big number strings, since we abort parsing as soon as possible. ,numberToChar (repeat '1') == Exception "..." xml-basic>We fail on leading zeros in order to prevent infinite loop on  repeat '0'. This function assumes that 16 * ord maxBound is always representable as Int. xml-basicA table mapping XML entity names to code points. Although entity references can in principle represent more than one character, the standard entities only contain one character. xml-basicThis list excludes apos- as Internet Explorer does not know about it. Safe-Inferred xml-basicA table mapping HTML entity names to code points. Although entity references can in principle represent more than one character, the standard entities only contain one character.     Safe-Inferred  xml-basicWe need to distinguish between tag names and attribute names, because DOCTYPE as tag name must be written upper case, whereas as attribute name it may be written either way.   Safe-Inferred w. xml-basicInternet Explorer does not recognize ' and thus we have to format it literally. !"#$%&'()*+,-./0 !"#$%&'()*+,-./0 Safe-Inferredl7 xml-basic*If a reference cannot be resolved then an  Exception/ constructor with an error message is returned.9 xml-basicIf a reference cannot be resolved then a reference string is returned.E xml-basicConvert unicode character to XML Char, where Unicode constructor is only used for ASCII characters. This is achieved by the following decision: If there is a entity reference, use this. If it is ASCII, represent it as Char. Otherwise use a character reference.G xml-basicGenerate XML character from Unicode character with minimal use of references. The only references used are the XML entity references ', ", &, <, >.L xml-basicReduce the use of references. Represent as much as possible characters as Unicode characters, that is, using the Unicode constructor.M xml-basic=try to convert a References to equivalent Unicode characters 3456789:;<=>?@ABCDEFGHIJKLMN3456789:;<=>?@ABCDHIJEFGLMNK Safe-InferredsT xml-basicConvert unicode character to XML Char. If there is a named reference, use this. If it is ASCII, represent it as Char. Otherwise use a numeric reference.3456;<=>?@ABCDGHIJKNRSTUVWXYZ3456RS;<=>?@ABCDHIJTUGVNKWXYZ Safe-Inferred[\[\ Safe-Inferredbedcfghibedcfghi tagsoup@henning-thielemann.de provisionalportable Safe-Inferredro xml-basicPosition in a file consisting of file name, row and column coordinates. Upper left is (0,0), but show routines can display this with different offsets.z xml-basicConvert the file position to a format that development environments can understand. opqrstuvwxyz orqpstvwuyxz  Safe-Inferred8~ xml-basicshould be [Word8] xml-basicDecode encoded characters and XML references. Invalid references are silently skipped.~~  Safe-Inferred xml-basic(Invalid references are silently skipped.~~  Safe-Inferred xml-basicNeeds + from utility-ht in order to be as lazy as . xml-basicApply f to the first element, where p< holds. If no such element exists, append the default value deflt to the list.  Safe-Inferred xml-basicAn HTML attribute  id="name" generates  ("id","name")  xml-basicEach attribute is preceded by a space, that is there is a space between adjacent attributes and one leading space. xml-basicProcess specific attributes of an attribute list. The function name is inspired by Data.Map. xml-basicInsert an attribute into an attribute list. If an attribute with the same name is already present, then the value of this attribute is changed to f newValue oldValue-. The function name is analogous to Data.Map. xml-basic+matchManyValues name [value0, value1] attrs checks whether (name, value0) or (name, value1) is contained in attrs(. The values are handled case-sensitive.$$ Safe-Inferred Safe-Inferred   Safe-Inferred" Safe-Inferred xml-basic"Check whether a HTML tag is empty. xml-basicSet of empty HTML tags. xml-basicSome tags, namely those for text styles like FONT, B, I, are used quite sloppily. That is, they are not terminated or not terminated in the right order. We close them implicitly, if another tag closes and ignore non-matching closing tags. xml-basic.Extract charset from Content-Type declaration. =encodingFromContentType "text/html; charset=UTF-8" == "utf-8".The routine does not perform any syntax check. xml-basicA simple routine that does not check for valid syntax of the Content-Type specification."In future we might use a distinct Encoding type instead of plain String. !"#$%&'#()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]CEQ^X_`ab?cde\]f?cghij$%de\]f ? k l m n o p q r s t u \ ] f v w x w y z   { ? c | } ~ n    ;              &               [ \ ] f  ?[\]f{?cde\]f(xml-basic-0.1.3.2-38NlNrBCwzWCBtucLmykDeText.XML.Basic.EntityText.HTML.Basic.EntityText.XML.Basic.NameText.XML.Basic.FormatText.XML.Basic.CharacterText.HTML.Basic.CharacterText.XML.Basic.Name.MixedCaseText.XML.Basic.Name.QualifiedText.XML.Basic.PositionText.XML.Basic.StringText.HTML.Basic.StringText.XML.Basic.UtilityText.XML.Basic.Attribute$Text.XML.Basic.ProcessingInstructionText.XML.Basic.TagText.XML.Basic.Name.LowerCaseText.HTML.Basic.TagName numberToChar mapNameToChar mapCharToNamelistlistInternetExploder$fMonoidUpdate$fSemigroupUpdatemapCharToNameInternetExplodermapNameToUppermapNameToLower AttributeattributeFromStringattributeToStringTag tagFromString tagToStringC fromStringtoStringmatchmatchAnyrunnlblankeqltgtslashampsharpcolon semicolonaposquotlparrparexclamquestangle stringQuotednamemany$fC[]$fCCharTUnicodeCharRef EntityRef toUnicode toUnicodeGentoUnicodeOrFormattoUnicodeOrFormatGen fromUnicode fromCharRef fromEntityRef maybeUnicode maybeCharRefmaybeEntityRef isUnicode isCharRef isEntityRefisRefasciiFromUnicodeasciiFromUnicodeGenminimalRefFromUnicodeunicoderefCrefEswitchUnicodeRuns reduceRef reduceRefGen validCharRef$fCT$fShowT$fEqT asciiFromUnicodeInternetExploderisLowerisUppertoLowertoUpperCons $fAttributeT$fTagT$fOrdT namespace_local_ namespacelocalColumnRowFileNamenew initializefileNamerowcolumnupdateOnString updateOnChar toReportTextEncodeddecode decodeGen updateAppend updateAppend'unnamename_value_conslifttoPairfromPairvalueformatListBlankHeadmapName versionName encodingName versionStringencodingString mapValues mapValuesAadjustOn adjustOnAinsert insertWith matchAnyValuelookup lookupLitanyanyNameanyValueanyLit anyNameLit anyValueLit$fCName $fShowName$fTraversableT $fFoldableT $fFunctorT$fEqName $fOrdNameKnownUnknown mapAttributesmapAttributesAdoctypecdata doctypeName cdataNamexmlName doctypeString cdataString xmlStringmaybeXMLEncodingisEmptyisSloppy isInnerOfclosesmaybeMetaHTTPHeaderencodingFromContentTypemaybeMetaEncodingmaybeMetaCharset readBounded(utility-ht-0.0.16-92FJ8NLZXLDH6Fk2H39llgData.List.HT.PrivatebreakemptySet