patch applied (packages/HaXml): Ensure that Xtract does not crash
on queries like foo[3].
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Fri Dec 4 03:02:49 EST 2009
Thu Dec 3 23:48:44 PST 2009 Malcolm.Wallace at cs.york.ac.uk
* Ensure that Xtract does not crash on queries like foo[3].
Ignore-this: d8488dc45b3740928decda4004e0483c
Previously, if there were 2 or fewer matches, the query would crash with
"index too large". But all queries are potentially partial, so this one
should really return an empty string.
M ./src/Text/XML/HaXml/Xtract/Parse.hs -1 +1
View patch online:
http://darcs.haskell.org/packages/HaXml/_darcs/patches/20091204074844-6871e-cbf9d0a7d74c728adbd890bd229e9ec3f871f839.gz
More information about the Cvs-libraries
mailing list