/usr/share/doc/libghc-haxml-doc/html/Text-XML-HaXml-Validate.html is in libghc-haxml-doc 1:1.25.3-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.XML.HaXml.Validate</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-XML-HaXml-Validate.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XML-HaXml-Validate.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">HaXml-1.25.3: Utilities for manipulating XML documents</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Text.XML.HaXml.Validate</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Validate a document against a dtd.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:validate">validate</a> :: <a href="Text-XML-HaXml-Types.html#t:DocTypeDecl">DocTypeDecl</a> -> <a href="Text-XML-HaXml-Types.html#t:Element">Element</a> i -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:partialValidate">partialValidate</a> :: <a href="Text-XML-HaXml-Types.html#t:DocTypeDecl">DocTypeDecl</a> -> <a href="Text-XML-HaXml-Types.html#t:Element">Element</a> i -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:validate" class="def">validate</a> :: <a href="Text-XML-HaXml-Types.html#t:DocTypeDecl">DocTypeDecl</a> -> <a href="Text-XML-HaXml-Types.html#t:Element">Element</a> i -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>] <a href="src/Text-XML-HaXml-Validate.html#validate" class="link">Source</a> <a href="#v:validate" class="selflink">#</a></p><div class="doc"><p><code><a href="Text-XML-HaXml-Validate.html#v:validate">validate</a></code> takes a DTD and a tagged element, and returns a list of
errors in the document with respect to its DTD.</p><p>If you have several documents to validate against a single DTD,
then you will gain efficiency by freezing-in the DTD through partial
application, e.g. <code>checkMyDTD = validate myDTD</code>.</p></div></div><div class="top"><p class="src"><a id="v:partialValidate" class="def">partialValidate</a> :: <a href="Text-XML-HaXml-Types.html#t:DocTypeDecl">DocTypeDecl</a> -> <a href="Text-XML-HaXml-Types.html#t:Element">Element</a> i -> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a>] <a href="src/Text-XML-HaXml-Validate.html#partialValidate" class="link">Source</a> <a href="#v:partialValidate" class="selflink">#</a></p><div class="doc"><p><code><a href="Text-XML-HaXml-Validate.html#v:partialValidate">partialValidate</a></code> is like validate, except that it does not check that
the element type matches that of the DTD's root element.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|