}r      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~portableYitzchak Gale <gale@sefer.org> Safe-Infered41A source for a notation. We do not use the usual  E type here, because for notations it is only optional, not required, 8 for a public ID to be accompanied also by a system ID. A public ID with a system ID  A public ID  A system ID A declaration of a notation. 0A default value specification for an attribute. *The attribute has the given default value  when not supplied +When supplied, the attribute must have the  given value ,No default value; the attribute is optional ,No default value; the attribute must always  be supplied .The type of value that an attribute can take. Specified by external syntax  declared as a notation One of the given values One or more name-like tokens A name-like token 'One or more unparsed external entities An unparsed external entity One or more references to IDs A reference to an ID  A unique ID  Any text <A declaration of an attribute that can occur in an element. The name of the attribute The type of the attribute  The default value specification #1A list of attribute declarations for an element. %The name of the element to  which the attribute  declarations apply '=The number of times a production of content model syntax can  repeat. ,.A model of structured content for an element. -Sequence, delimited by "," .Choice, delimited by "|" / Element name 0*The content that can occur in an element. 2A mixture of text and elements 3Structured element content 4Unrestricted content 5 No content 6A declaration of an element. ::A parameter entity reference. It contains the name of the , parameter entity that is being referenced. ;:The value of an internal entity may contain references to D parameter entities; these references need to be resolved to obtain A the actual replacement value of the entity. So we represent the B value as a mixture of parameter entity references and free text. >@A declaration of an entity. An entity is a textual substitution A variable. General entities can be referenced in an XML document D conforming to the DTD, and parameter entities can be referenced in E the DTD itself. The value of an unparsed entity is not specified in D the DTD; it is specified by external syntax declared as a notation  elsewhere in the DTD. AAn external general  entity is unparsed if a  notation is specified. G-The kinds of components that can appear in a S. H A comment IA processing instruction J A parameter entity reference in  the top-level flow of the DTD KA notation declaration L!List of attribute declarions for  an element MElement declaration NEntity declaration OThe ?xml- text declaration at the beginning of a DTD. SA S( is a sequence components in any order. f  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUV\STUVOPQRGNMLKJIH>DA@?EFEBCEFEB;=<:6789054321,/.-'+*)(#$%& "!  !  "!#$%&'+*)(,/.-0543216789:;=<> DA@?EFEBCEFEBGNMLKJIHOPQRSTUVportableYitzchak Gale <gale@sefer.org> Safe-InferedW?Parse a DTD. Parameter entity substitution is not supported by D this parser, so parameter entities cannot appear in places where a D valid DTD syntax production cannot be determined without resolving  them. X Parse an ?xml( text declaration at the beginning of a S. YParse a single component of a S. Conditional sections are  currently not supported. Z Parse a processing instruction. [Parse an entity declaration. \=Parse a DTD name. We are much more liberal than the spec: we = allow any characters that will not interfere with other DTD # syntax. This parser subsumes both Name and NmToken in the spec,  and more. ] Parse a DTD \# followed by optional white space. ^:Parse an entity value. An entity value is a quoted string 2 possibly containing parameter entity references. _#Parse a parameter entity reference `%Parse the declaration of an element. a0Parse the content that can occur in an element. b6Parse the model of structured content for an element. cParse a repetition character. d7Parse a list of attribute declarations for an element. f2Parse the three-part declaration of an attribute. g Parse the type of an attribute. h6Parse a default value specification for an attribute. iAA single-quoted or double-quoted string. The quotation marks are  dropped. j#Parse a declaration of a notation. kParse a source for a notation. lParse an external ID. mParse a comment n$Parse one character of white space. o,Skip zero or more characters of white space WXYZ[\]^_`abcdefghijklmnoWXYZ[\]^_`abcdefghijklmnoWXY[^_jk`abcdfeghZml\]ionWXYZ[\]^_`abcdefghijklmno Safe-Inferedp<A declaration of an attribute that can occur in an element. rThe name of the attribute sThe type of the attribute t The default value specification uA u( is a sequence components in any order. y-The kinds of components that can appear in a u. z A comment {A processing instruction |A notation declaration }!List of attribute declarions for  an element ~Element declaration Entity declaration An external general  entity is unparsed if a  notation is specified. A declaration of an element. *The content that can occur in an element. A mixture of text and elements Structured element content Unrestricted content  No content 1A list of attribute declarations for an element. The name of the element to  which the attribute  declarations apply $pqrstuvwxyz{|}~I '()*+,-./OPQRpqrstuvwxyz{|}~JuvwxOPQRy~}|{z,/.-'+*)(pqrst  pqrstuvwxy~}|{z Safe-InferedportableYitzchak Gale <gale@sefer.org> Safe-InferedBuild an optional item. Build a newline. Build a space. Build a quoted string. CBuild a string quoted by angle brackets, with an exclamation mark. (Build a string surround by parantheses. Build a list of items Build a choice expression. A  for a u. A  for a O. A  for a y. A  for an . A  for an . A  for an . A  for a . A  for a ,. A  for a '. A  for an . A  for an p. A  for an  . A  for an . A  for a . A  for a . A  for an . A 1 for a comment. The comment text cannot be null,  cannot contain two consecutive , and cannot end in .  Safe-Infered        !!"#$%&'(()*+,-./0123456789::;<=>?@ABCDEFGHIJKLMNOPQRRSTUUVWXYZ[\]^_`abcdefghijklmnop!!"#$UUVWJKLNOPQADEFGHI::;<46789(()*qrstuvwxyz{|}~ dtd-0.5.0Data.DTD.Types.UnresolvedData.DTD.Parse.UnresolvedData.DTD.TypesData.DTD.ParseData.DTD.RenderData.DTD.CacheNotationSourceNotationPubSysID NotationPubID NotationSysIDNotation notationNamenotationSource AttDefaultAttDefaultValueAttFixed AttImplied AttRequiredAttTypeAttNotationType AttEnumTypeAttNmTokensTypeAttNmTokenTypeAttEntitiesType AttEntityType AttIDRefsType AttIDRefType AttIDType AttStringType AttTypePERefATPPERefATPTypeAttDecl attDeclName attDeclTypeattDeclDefault AttDeclPERefADPPERefADPDeclAttListattListElementName attListDeclsRepeat OneOrMore ZeroOrMore ZeroOrOneOne ContentModelCMSeqCMChoiceCMName ContentDecl ContentPERef ContentMixedContentElement ContentAny ContentEmpty ElementDecl eltDeclNameeltDeclContentPERef EntityValue EntityPERef EntityText EntityDeclExternalParameterEntityDeclInternalParameterEntityDeclExternalGeneralEntityDecl entityDeclIDentityDeclNotationInternalGeneralEntityDeclentityDeclNameentityDeclValue DTDComponent DTDCommentDTDInstructionDTDPERef DTDNotation DTDAttListDTDElementDecl DTDEntityDecl DTDTextDecl dtdXMLVersion dtdEncodingDTD dtdTextDecl dtdComponentsdtdtextDecl dtdComponent instruction entityDeclnamenameSS entityValuepERef elementDecl contentDecl contentModel repeatCharattList attDeclPERefattDeclattType attDefaultquotednotation notationSrc externalIDcommentwsskipWSreadEID readFile_enumFile filePathToEIDuriToEID buildMaybenewlinespacequotepbracketparens buildList buildChoicebuildDTDbuildDTDTextDeclbuildDTDComponentbuildEntityDeclbuildExternalIDbuildElementDeclbuildContentDeclbuildContentModel buildRepeat buildAttList buildAttDecl buildAttTypebuildAttDefault buildNotationbuildNotationSourcebuildInstruction buildComment EntityMapAttrMapAttFixedDefUnresolvedEntityDTDCache newDTDCachenewDTDCacheFile loadAttrMap applyDTD_applyDTDxml-types-0.3.1Data.XML.Types ExternalID$fTypeableNotationSource$fTypeableNotation$fTypeableAttDefault$fTypeableAttType$fTypeableAttDecl$fTypeableAttList$fTypeableRepeat$fTypeableContentModel$fTypeableContentDecl$fTypeableElementDecl$fTypeableEntityValue$fTypeableEntityDecl$fTypeableDTDComponent$fTypeableDTDTextDecl $fTypeableDTD$fExceptionResolveException'$fExceptionResolveExceptionblaze-builder-0.3.1.0'Blaze.ByteString.Builder.Internal.TypesBuilder InstructionbaseGHC.Num-$fExceptionUnresolvedEntity$fExceptionUnknownExternalID