diff --git a/hxt-xslt.cabal b/hxt-xslt.cabal
--- a/hxt-xslt.cabal
+++ b/hxt-xslt.cabal
@@ -1,6 +1,6 @@
 -- arch-tag: Haskell XML Toolbox XSLT Module
 Name:           hxt-xslt
-Version:        9.0.0
+Version:        9.1.0
 Synopsis:       The XSLT modules for HXT.
 Description:    The Haskell XML Toolbox XSLT library.
 License:        OtherLicense
@@ -78,7 +78,10 @@
   Text.XML.HXT.XSLT.XsltArrows
 
  hs-source-dirs: src
+
  ghc-options: -Wall
+ ghc-prof-options: -auto-all -caf-all
+
  extensions: MultiParamTypeClasses DeriveDataTypeable FunctionalDependencies FlexibleInstances
 
  build-depends: base       >= 4   && < 5,
@@ -87,6 +90,6 @@
                 directory  >= 1   && < 2,
                 filepath   >= 1   && < 2,
                 parsec     >= 2.1 && < 4,
-                hxt        >= 9   && < 10,
-                hxt-xpath  >= 9   && < 10
+                hxt        >= 9.1 && < 10,
+                hxt-xpath  >= 9.1 && < 10
 
diff --git a/src/Text/XML/HXT/XSLT/Compilation.hs b/src/Text/XML/HXT/XSLT/Compilation.hs
--- a/src/Text/XML/HXT/XSLT/Compilation.hs
+++ b/src/Text/XML/HXT/XSLT/Compilation.hs
@@ -30,6 +30,8 @@
 
 import           Text.ParserCombinators.Parsec.Prim     ( runParser )
 
+import           Text.XML.HXT.Parser.XmlCharParser      ( withNormNewline )
+
 import           Text.XML.HXT.XSLT.Common
 import           Text.XML.HXT.XSLT.Names
 import           Text.XML.HXT.XSLT.CompiledStylesheet
@@ -48,7 +50,10 @@
 parseExpr uris selectStr
     = either (error.show) id parseResult
     where
-    parseResult = runParser parseXPath (toNsEnv . Map.toList $ uris) ("select-expr:"++selectStr) selectStr
+    parseResult = runParser parseXPath
+                            (withNormNewline (toNsEnv . Map.toList $ uris))
+                            ("select-expr: " ++ selectStr)
+                            selectStr
 
 parseSelect :: UriMapping -> String -> SelectExpr
 parseSelect uris
