Hi there, Robert Kern wrote:
I'm in the process of testing hooks for reporting libxml2's so-called "structured errors" in lxml. Among other things, I want to get a more diagnostic message when a document fails to validate against a RelaxNG schema.
This sounds very cool! Looking forward to seeing your work on this..
I ran across a problem where an invalid document will fail the validation the first time but succeed when the validation is repeated. I haven't been able to isolate a small test case, unfortunately; my attempts at simplification give the expected results.
Okay, thanks for reporting it, and for trying to wittle this one down! If nobody steps up before I do, I will be testing this one when I get some free time; I'm still swamped with work so please be patient. Others are of course welcome to look into this one (looking hopefully at Kasimier :). Regards, Martijn