dtd-types: Basic types for representing XML DTDs
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
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.
- dtd-types-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Versions [RSS]||0.0.0.1, 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.3.0.1, 0.4.0.0|
|Dependencies||base (>=3 && <4.7), text, xml-types (>=0.3 && <0.4) [details]|
|Revised||Revision 2 made by HerbertValerioRiedel at 2019-01-06T21:44:28Z|
|Source repo||head: darcs get http://code.haskell.org/dtd/dtd-types/|
|Uploaded||by YitzGale at 2011-06-01T08:25:15Z|
|Downloads||4849 total (24 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs available [build log]
Successful builds reported [all 1 reports]