packages feed

dtd-types

Basic types for representing XML DTDs

view on Hackage

This package provides types to represent an XML Document Type Declaration (DTD) as defined in W3C specifications (<http://www.w3.org/XML/Core/#Publications>). It is intended to be compatible with and extend the set of types in "Data.XML.Types" provided by the xml-types package. Following the philosophy of @Data.XML.Types@, the types in this module are not intended to be a strict and complete representation of the model in the W3C specifications; rather, they are intended to be convenient and type-safe for the kinds of processing of DTDs that are commonly done in practice. As such, this model is compatible with both Version 1.0 and Version 1.1 of the XML specification. Therefore, these types are not suitable for type-level validation of the syntax of a DTD. For example: these types are more lenient than the specs about the characters that are allowed in various locations in a DTD; entities of various kinds only appear as distinct syntactic elements in places where they are commonly needed when processing DTDs; etc. Conditional sections are not represented in these types. They should be handled directly by parsers and renderers, if needed.
versionuploadeduploaderchanges
0.4.0.02018-11-03 23:50 UTCYitzGale+23/−72 lines, 2 filesdep ~basePVP ok
0.3.0.12011-06-05 15:49 UTCYitzGale2 revisions+70/−67 lines, 2 files
0.2.0.12011-06-01 09:09 UTCYitzGale2 revisions+3/−2 lines, 2 files
0.2.0.02011-06-01 08:25 UTCYitzGale2 revisions+6/−6 lines, 2 files
0.1.0.02011-05-31 09:29 UTCYitzGale2 revisions+20/−17 lines, 2 files
0.0.0.12011-05-30 09:49 UTCYitzGale2 revisions+355/−0 lines, 4 filesdep +basedep +textdep +xml-typessetup-changed

Dependencies of dtd-types-0.4.0.0

base >=4 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

text >=0 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

xml-types >=0.3 && <0.4 0.3.7 → 0.3.8
2020-07-13 01:40 UTC0.3.8+3/−3 lines, 1 filesPVP ok
2020-06-07 02:38 UTC0.3.7+156/−106 lines, 4 filesdep −ghc-primnew-uploaderPVP: major bump suggested
2015-07-08 05:24 UTC0.3.6+4/−2 lines, 1 filesdep +ghc-primdep ~basePVP ok
2015-06-21 22:00 UTC0.3.5+56/−2 lines, 2 filesdep ~basePVP ok
2013-07-20 18:50 UTC0.3.4+54/−6 lines, 2 filesdep +deepseqPVP ok

showing 5 of 15 versions

Reverse dependencies

1 packages depend on dtd-types

dtd-text 0.1.2.0 requires dtd-types >=0.3.0.1 && <1