packages feed

hxt-xslt 9.0.0 → 9.1.0

raw patch · 2 files changed

+12/−4 lines, 2 filesdep ~hxtdep ~hxt-xpathPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hxt, hxt-xpath

API changes (from Hackage documentation)

Files

hxt-xslt.cabal view
@@ -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 
src/Text/XML/HXT/XSLT/Compilation.hs view
@@ -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