diff --git a/CONTRIBUTORS b/CONTRIBUTORS
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -5,3 +5,4 @@
 Will Langstroth <will@langstroth.com>
 Shane O'Brien <shane@duairc.com>
 James Sanders <jimmyjazz14@gmail.com>
+Mark Wright <gienah@gentoo.org>
diff --git a/heist.cabal b/heist.cabal
--- a/heist.cabal
+++ b/heist.cabal
@@ -1,5 +1,5 @@
 name:           heist
-version:        0.8.0
+version:        0.8.1
 synopsis:       An (x)html templating system
 description:    An (x)html templating system
 license:        BSD3
@@ -88,20 +88,20 @@
     attoparsec                >= 0.10  && < 0.11,
     base                      >= 4     && < 5,
     blaze-builder             >= 0.2   && < 0.4,
-    blaze-html                >= 0.4   && < 0.5,
+    blaze-html                >= 0.4   && < 0.6,
     bytestring,
     containers                >= 0.2   && < 0.5,
     directory,
     directory-tree,
     filepath,
-    MonadCatchIO-transformers >= 0.2.1 && < 0.3,
-    mtl                       >= 2.0   && < 2.1,
+    MonadCatchIO-transformers >= 0.2.1 && < 0.4,
+    mtl                       >= 2.0   && < 2.2,
     process,
     random,
     text                      >= 0.10  && < 0.12,
     time                      >= 1.1   && < 1.5,
     transformers,
-    xmlhtml                   >= 0.1.6 && < 0.2,
+    xmlhtml                   >= 0.1.6 && < 0.3,
     unordered-containers      >= 0.1.4 && < 0.3,
     vector                    >= 0.9   && < 0.10
 
diff --git a/src/Text/Templating/Heist/Internal.hs b/src/Text/Templating/Heist/Internal.hs
--- a/src/Text/Templating/Heist/Internal.hs
+++ b/src/Text/Templating/Heist/Internal.hs
@@ -664,7 +664,7 @@
 ------------------------------------------------------------------------------
 -- | Reads an XML template from disk.
 getXMLDoc :: String -> IO (Either String DocumentFile)
-getXMLDoc = getDocWith X.parseHTML
+getXMLDoc = getDocWith X.parseXML
 
 
 ------------------------------------------------------------------------------
diff --git a/test/heist-testsuite.cabal b/test/heist-testsuite.cabal
--- a/test/heist-testsuite.cabal
+++ b/test/heist-testsuite.cabal
@@ -9,30 +9,30 @@
 
   build-depends:
     QuickCheck                 >= 2,
-    aeson                      >= 0.4   && < 0.7,
-    attoparsec                 >= 0.10  && < 0.11,
-    base                       >= 4     && < 5,
-    blaze-builder              >= 0.2   && < 0.4,
-    blaze-html                 >= 0.4   && < 0.5,
+    aeson                      >= 0.4      && < 0.7,
+    attoparsec                 >= 0.10     && < 0.11,
+    base                       >= 4        && < 5,
+    blaze-builder              >= 0.2      && < 0.4,
+    blaze-html                 >= 0.4      && < 0.6,
     bytestring,
     containers,
     directory,
     directory-tree,
     process,
     filepath,
-    xmlhtml                    >= 0.1.6 && < 0.2,
-    HUnit                      >= 1.2   && < 2,
+    xmlhtml                    >= 0.1.6    && < 0.3,
+    HUnit                      >= 1.2      && < 2,
     mtl                        >= 2,
     random,
-    MonadCatchIO-transformers  >= 0.2.1 && < 0.3,
-    test-framework             >= 0.3.1 && < 0.6,
-    test-framework-hunit       >= 0.2.5 && < 0.3,
-    test-framework-quickcheck2 >= 0.2.6 && < 0.3,
-    text                       >= 0.10  && < 0.12,
+    MonadCatchIO-transformers  >= 0.2.1    && < 0.3,
+    test-framework             >= 0.6      && <0.7,
+    test-framework-hunit       >= 0.2.7    && <0.3,
+    test-framework-quickcheck2 >= 0.2.12.1 && <0.3,
+    text                       >= 0.10     && < 0.12,
     time,
     transformers,
-    unordered-containers       >= 0.1.4 && < 0.3,
-    vector                     >= 0.9   && < 0.10
+    unordered-containers       >= 0.1.4    && < 0.3,
+    vector                     >= 0.9      && < 0.10
 
 
   ghc-options: -O2 -Wall -fhpc -fwarn-tabs -funbox-strict-fields -threaded
