-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unrecoverable parser error while parsing (valid) XML #94
Comments
Hmm, strange... it doesn't seem to be the specific XML file that's the issue here. If I replace the XML file contents in the repro with that of https://github.com/ballsteve/xrust/blob/main/examples/issue-30.xml, I still get the error. At first glance, my repro code doesn't look meaningfully different from the relevant part of the example code either, so I'm a bit lost 😅 Lines 64 to 66 in 313aafd
|
Hi @mickdekkers , Thank you for the bug report! I'm looking into this now. |
Hi Mick, I'll take a look at the problem, and will also tag Daniel Murphy on it too. Cheers, Steve |
This was added to main, ticket can be closed. |
Hi,
I encountered an error when attempting to parse this XML file: https://github.com/mickdekkers/xrust-parse-issue-repro/blob/main/data/content.xml
As far as I can tell, the file is valid XML. I'm currently migrating my project over to the
xrust
crate for the XPath features (thanks, by the way!). In my project, I previously usedxot
androxmltree
before this, so I can confirm those crates do parse this XML file without issue. The online XML validators I found also confirm the file is valid.I prepared a repo with a minimal reproducible example: https://github.com/mickdekkers/xrust-parse-issue-repro
The error occurs with the code on
main
as well asdev
. The repro points todev
.Would appreciate it if you could take a look! 😄
Thanks!
The text was updated successfully, but these errors were encountered: