-
Notifications
You must be signed in to change notification settings - Fork 1
/
dtd-types.cabal
51 lines (47 loc) · 1.73 KB
/
dtd-types.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: dtd-types
version: 0.4.0.0
synopsis: Basic types for representing XML DTDs
description:
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.
license: BSD3
license-file: license.txt
author: Yitzchak Gale
maintainer: gale@sefer.org
category: Data, Text, XML
build-type: Simple
cabal-version: >=1.6
stability: experimental
bug-reports: mailto:gale@sefer.org
homepage: https://ygale.github.io/dtd
source-repository head
type: git
location: https://github.com/ygale/dtd-types.git
library
build-depends:
base >=4 && < 5
, text
, xml-types ==0.3.*
exposed-modules:
Data.XML.DTD.Types