Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > 51057bcd013d992f61ce4c2b0a4565e3 > files > 190

haskell-hxt-8.3.2-1mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Text.XML.HXT.DTDValidation.DTDValidation</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Text-XML-HXT-DTDValidation-DTDValidation.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>hxt-8.3.2: A collection of tools for processing XML with Haskell.</TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Text.XML.HXT.DTDValidation.DTDValidation</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable</TD
></TR
><TR
><TD CLASS="infohead"
>Stability</TD
><TD CLASS="infoval"
>experimental</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>Uwe Schmidt (uwe@fh-wedel.de)</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
><P
>This module provides functions for validating the DTD of XML documents
   represented as XmlTree.
</P
><P
>Unlike other popular XML validation tools the validation process returns
   a list of errors instead of aborting after the first error was found.
</P
><P
>Unlike validation of the document, the DTD branch is traversed four times:
</P
><UL
><LI
> Validation of Notations
</LI
><LI
> Validation of Unparsed Entities
</LI
><LI
> Validation of Element declarations
</LI
><LI
> Validation of Attribute declarations
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AremoveDoublicateDefs"
>removeDoublicateDefs</A
> :: <A HREF="Text-XML-HXT-DTDValidation-TypeDefs.html#t%3AXmlArrow"
>XmlArrow</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AvalidateDTD"
>validateDTD</A
> :: <A HREF="Text-XML-HXT-DTDValidation-TypeDefs.html#t%3AXmlArrow"
>XmlArrow</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:removeDoublicateDefs"
><A NAME="v%3AremoveDoublicateDefs"
></A
></A
><B
>removeDoublicateDefs</B
> :: <A HREF="Text-XML-HXT-DTDValidation-TypeDefs.html#t%3AXmlArrow"
>XmlArrow</A
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Removes doublicate declarations from the DTD, which first declaration is
 binding. This is the case for ATTLIST and ENTITY declarations.
</P
><UL
><LI
> returns : A function that replaces the children of DOCTYPE nodes by a list
               where all multiple declarations are removed.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:validateDTD"
><A NAME="v%3AvalidateDTD"
></A
></A
><B
>validateDTD</B
> :: <A HREF="Text-XML-HXT-DTDValidation-TypeDefs.html#t%3AXmlArrow"
>XmlArrow</A
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Validate a DTD.
</P
><UL
><LI
> returns : a functions which takes the DTD subset of the XmlTree, checks
                  if the DTD is valid and returns a list of errors
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.5.0</TD
></TR
></TABLE
></BODY
></HTML
>