Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
hxt Text.XML.HXT.DOM.XmlKeywords No documentation available.
module Text.XML.HXT.DTDValidation.
AttributeValueValidation This module provides functions for validating attributes. The main functions are:
- Check if the attribute value meets the lexical constraints of its type
- Normalization of an attribute value
module Text.XML.HXT.DTDValidation.
DTDValidation This module provides functions for validating the DTD of XML documents represented as XmlTree. Unlike other popular XML validation tools the validation process returns a list of errors instead of aborting after the first error was found. Unlike validation of the document, the DTD branch is traversed four times:
- Validation of Notations
- Validation of Unparsed Entities
- Validation of Element declarations
- Validation of Attribute declarations
-
hxt Text.XML.HXT.DTDValidation.DTDValidation Validate a DTD.
- returns : a functions which takes the DTD subset of the XmlTree, checks if the DTD is valid and returns a list of errors
module Text.XML.HXT.DTDValidation.
DocValidation This module provides functions for validating XML Documents represented as XmlTree. Unlike other popular XML validation tools the validation process returns a list of errors instead of aborting after the first error was found. Before the document is validated, a lookup-table is build on the basis of the DTD which maps element names to their validation functions. After this initialization phase the whole document is traversed in preorder and every element is validated by the XmlFilter from the lookup-table.
validateDoc :: XmlTree -> XmlArrowhxt Text.XML.HXT.DTDValidation.DocValidation Validate a document.
- 1.parameter dtdPart : the DTD subset (Node DOCTYPE) of the XmlTree
- 2.parameter doc : the document subset of the XmlTree
- returns : a list of errors
validateIds :: XmlTree -> XmlArrowhxt Text.XML.HXT.DTDValidation.IdValidation Perform the validation of the IDIDREFIDREFS constraints.
- 1.parameter dtdPart : the DTD subset (Node DOCTYPE) of the XmlTree
- 2.parameter doc : the document subset of the XmlTree
- returns : a list of errors
isIdAttrType :: ArrowDTD a => a XmlTree XmlTreehxt Text.XML.HXT.DTDValidation.TypeDefs No documentation available.
isIdRefAttrType :: ArrowDTD a => a XmlTree XmlTreehxt Text.XML.HXT.DTDValidation.TypeDefs No documentation available.
module Text.XML.HXT.DTDValidation.
Validation This module provides functions for validating XML documents represented as XmlTree. Unlike other popular XML validation tools the validation functions return a list of errors instead of aborting after the first error was found. Note: The validation process has been split into validation and transformation! If validate did not report any errors, transform should be called, to change the document the way a validating parser is expected to do.