Hi,
> On Jan 29, 2019, at 6:31 PM, Konrad Hinsen <konrad.hin...@fastmail.net> wrote: > > Hi Doru, > > Thanks for pointing out the use case in XML, which gave me an > opportunity to play around with this with almost no > effort. Unfortunately there seems to be a bug in how PPXmlParser > constructs the PPFailure message > (freshly reported: > https://github.com/moosetechnology/PetitParser/issues/38). Yes, I saw it. I mostly pointed you to the example. We originally built PPXmlParser as an example, and not so much as a production parser. But, does it solve your problem? > More generally, there seems to be a bug in how PetitParser handles > PPFailure return values. The actually reported error is always different > from what is passed to PPFailure. I love software ;-) What do you mean? Cheers, Doru > Konrad. -- www.feenk.com "If you interrupt the barber while he is cutting your hair, you will end up with a messy haircut."