ocramz / xeno

Fast Haskell XML parser
Other
120 stars 33 forks source link

Compatibility with bytestring 11 #56

Closed avieth closed 2 years ago

avieth commented 2 years ago

ByteString no longer keeps an offset. The pattern synonym PS always gives 0 for the offset. This means the parser definitions here in xeno have become wrong. Tests were failing. This patch makes tests pass giving me some confidence that it's the right fix.

Bumped the bytestring lower bound and also the xeno version.