| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Version : $Id$ Datatypes and functions for building a content model for XML picklers. A schema is part of every pickler and can be used to derive a corrensponding DTD (or Relax NG schema). This schema further enables checking the picklers. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| data Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type Name = String | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type Schemas = [Schema] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| data DataTypeDescr | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScXsd :: (String -> Bool) -> Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| test: is schema a simple XML Schema datatype | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScFixed :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| test: is type a fixed value attribute type | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScEnum :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScElem :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScAttr :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScElemRef :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScCharData :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScSARE :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScList :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isScOpt :: Schema -> Bool | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xsdParam :: String -> Schema -> String | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| access an attribute of a descr of an atomic type | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scDT :: String -> String -> Attributes -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scDTxsd :: String -> Attributes -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scString :: Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scString1 :: Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scFixed :: String -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scEnum :: [String] -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scNmtoken :: Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scNmtokens :: Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scEmpty :: Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scSeq :: Schema -> Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scSeqs :: [Schema] -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scNull :: Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scAlt :: Schema -> Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scAlts :: [Schema] -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scOption :: Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scList :: Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scList1 :: Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scOpt :: Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scRep :: Int -> Int -> Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scElem :: String -> Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scAttr :: String -> Schema -> Schema | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Produced by Haddock version 2.1.0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||