]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/Xml.hs
Update (or add) a bunch of documentation.
[dead/htsn-import.git] / src / Xml.hs
index 866ac4647fc258326cf8369ad5783f0a1ee375a6..3242dacd8b2a7a69c997acb527846dfaaeb0ff75 100644 (file)
@@ -17,11 +17,12 @@ import Text.XML.HXT.Core (
   (/>),
   PU,
   SysConfigList,
-  XmlPickler(..),
   isElem,
+  no,
   readDocument,
   runX,
   withRemoveWS,
+  withValidate,
   xpickleVal,
   xunpickleVal,
   yes )
@@ -55,7 +56,7 @@ newtype DtdName = DtdName String
 --   would have to parse whitespace in each (un)pickler.
 --
 parse_opts :: SysConfigList
-parse_opts = [ withRemoveWS yes ]
+parse_opts = [ withRemoveWS yes, withValidate no ]
 
 
 -- | Given an @unpickler@ and a @filepath@, attempt to unpickle the