Conversation
|
Disclaimer: I'm just a backup maintainer for Although this change seems perfectly functional, I do not feel comfortable merging it, and here is why. Recovering from invalid XML documents in general sounds like a complex feature, one that I hope I don't come off as negative/judgmental on the proposed change here, I understand that it may be beneficial to users in the short term, but I think it is detrimental to maintainers (and thus indirectly to the users as well) in the long run. |
|
Thanks for the concise reply.
Albeit less complex,
At the moment, |
We're sometimes confronted with managing malformed XML data that we can't fix because we didn't generate it and we don't have the possibilities to fix it upstream: these XML files come from somewhere outside of our control. We should still need to be able to parse them at least partially, if possible. So I added a recovery mode to
xml-conduit, similar to what exists in lxml with the option recover. The target of this recovering parser is mainly unescaped characters.