[Haskell-cafe] Re: src/Text/XML/HaXml/Lex.hs:(156, 0)-(160, 22): Non-exhaustive patterns in function white

Alexander Kotelnikov sacha at myxomop.com
Wed Jul 21 11:10:42 EDT 2010


So updated to HaXml 1.20, haxr 3000.7

Simple calls (which deal with simple data types as integer or regular
string) still work.

Calls which successfully returned some binary data before do not do so
anymore. The error is:
Prelude.chr: bad argument: 1177427

Calls which complained about 'white' function now fail with:
precondition not satisfied: Posn.white c | isSpace c


My guess is that XML parser is not ready (and from XML standpoint it
might be right) that XML-RPC tries to transfer binary data as its
<string>.

Alexander


>>>>> On Wed, 21 Jul 2010 06:04:58 -0700 (PDT)
>>>>> "mw" == malcolm wallace <malcolm.wallace at me.com> wrote:
mw> 
mw>                                                                                                         Ouch... I
mw>                           check the version and realized that
mw>                           Debian/unstable has                          version
mw>                           1.13 of haxml.                          
mw>                           Malcolm, can you comment this Debian
mw>                           changelog entry with which Debian                          package
mw>                           was downgraded from 1.19 to 1.13:
mw> 
mw>  
mw> I know nothing about Debian packaging, but it sounds like there are other packages that depend on
mw> the old version of HaXml, which have not yet been updated to use the current, slightly modified,
mw> API.  Since the new API has been available for about 4 years now, and officially stable for the
mw> last six months (although in fact it changed very little in those four years), I think it is high
mw> time those other packages were updated.
mw> Regards,
mw>      Malcolm



More information about the Haskell-Cafe mailing list