-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected element and crash #375
Comments
@miek@miek.nl uploaded file |
@henrik@levkowetz.com commented Hi Miek, Regarding this:
I find that on line 96 there's a I've also fixed the code where the exception was raised, but the underlying reason for the problem was the invalid xml ( I wish I knew a way to produce as good a list of validation issues with lxml as xmllint can give. Running xmllint on your file shows a list of schema validations that you should fix. I used:
|
@henrik@levkowetz.com changed status from |
@henrik@levkowetz.com changed resolution from `` to |
@henrik@levkowetz.com commented Fixed in 2ce8177: Fixed several places where unexpected input could cause exceptions. Also turned the invalid input document warning into an error. Fixes issue #375. |
resolution_fixed
type_defect
| by miek@miek.nlon my learninggo.xml xml2rfc-2.10.1 now crashes with:
It's also unclear why this is an invalid doc - in v2 output it would dump a
expected author* cite
etc thingy which was helpful in debugging.The crash is not help obviously.
Attaching the full xml just in case.
Issue migrated from trac:375 at 2022-02-05 12:46:24 +0000
The text was updated successfully, but these errors were encountered: