[Haskell-cafe] Re: HXT error handling

2010-04-06 Thread Uwe Schmidt
Hi Mads, > > This is a right point. Here the current XPath calling interface is too > > simple. > > A separation into XPath parsing and evaluation would be more flexible. > > The parsing (and error handling of XPath syntax errors) could be done once. > > I will extend the interface to support th

[Haskell-cafe] Re: HXT error handling

2010-04-06 Thread Mads Lindstrøm
Hi Uwe > This is a right point. Here the current XPath calling interface is too simple. > A separation into XPath parsing and evaluation would be more flexible. > The parsing (and error handling of XPath syntax errors) could be done once. > I will extend the interface to support this. That would

[Haskell-cafe] Re: HXT error handling

2010-04-06 Thread Uwe Schmidt
Hi Mads, > I am trying to use HXT to evaluate XPath expressions. The XPath > expressions are not specified by myself, but by users of my program. > However, the idea behind HXT's error handling confuses me. Maybe > somebody can enlighten me. > > This program fragment: > > evalXPath :: String ->