-
Notifications
You must be signed in to change notification settings - Fork 35
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
java.lang.ClassCastException on XsdAttribute:198 - xsd parser version 1.2.9 #63
Comments
Possible solution for issue : xmlet#63 This fix does not address the behaviour change in patch 1.2.9, it just try to check type before casting to insure the operation is allowed.
Hello, Thanks for using the library, I'm glad you find it useful! I didn't fully check the implications of my change and without tests covering this specific case it was overlooked, Your solution works, I'll probably release a new version with the fix either tomorrow or saturday. |
Perfect. |
Hi, I've applied the fix and released the version 1.2.10. I've had an issue releasing the version but it seems to be available now, let me know if you have any more issues. |
Thanks a lot @lcduarte , already integrated the new version. |
To start, thanks again for your great work with this useful parser!
Describe the bug
When parsing a xsd, I get this exception :
Expected behavior
Up to version 1.2.8 I was not getting the exception
Library Version
1.2.9
Additional context
To reprocude the exception it is possible to use this xsd :
sample xsd
With this code :
The text was updated successfully, but these errors were encountered: