packages feed

dtd-types 0.1.0.0 → 0.2.0.0

raw patch · 2 files changed

+6/−6 lines, 2 files

Files

Data/XML/DTD/Types.hs view
@@ -69,7 +69,7 @@ import Data.Text (Text) import Data.Typeable ( Typeable, TypeRep, typeOf                      , mkTyConApp, mkTyCon)-import Data.XML.Types (ExternalID, Name, Instruction)+import Data.XML.Types (ExternalID, Instruction)  -- | A 'DTD' is a sequence components in any order. data DTD = DTD@@ -155,7 +155,7 @@ -- | A declaration of an element. data ElementDecl =      ElementDecl-      { eltDeclName :: Name+      { eltDeclName :: Text       , eltDeclContent :: ContentDecl       }   deriving (Show, Eq)@@ -176,7 +176,7 @@  -- | A model of structured content for an element. data ContentModel =-     CMName Name Repeat             -- ^ Element name+     CMName Text Repeat             -- ^ Element name    | CMChoice [ContentModel] Repeat -- ^ Choice, delimited by @\"|\"@    | CMSeq [ContentModel] Repeat    -- ^ Sequence, delimited by @\",\"@   deriving (Show, Eq)@@ -195,7 +195,7 @@ -- | A list of attribute declarations for an element. data AttrList =      AttrList-       { attrListElementName :: Name -- ^ The name of the element to+       { attrListElementName :: Text -- ^ The name of the element to                                      -- which the attribute                                      -- declarations apply        , attrListDecls :: [AttrDecl]@@ -208,7 +208,7 @@ -- | A declaration of an attribute that can occur in an element. data AttrDecl =      AttrDecl-       { attrDeclName :: Name           -- ^ The name of the attribute+       { attrDeclName :: Text           -- ^ The name of the attribute        , attrDeclType :: AttrType       -- ^ The type of the attribute        , attrDeclDefault :: AttrDefault -- ^ The default value specification        }
dtd-types.cabal view
@@ -1,5 +1,5 @@ name: dtd-types-version: 0.1.0.0+version: 0.2.0.0 synopsis: Basic types for representing XML DTDs description:   This package provides types to represent an XML Document Type