Skip to content
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

Decide if we want to ignore xs:integer schema validation errors #207

Open
kislyuk opened this issue Oct 30, 2022 · 0 comments
Open

Decide if we want to ignore xs:integer schema validation errors #207

kislyuk opened this issue Oct 30, 2022 · 0 comments

Comments

@kislyuk
Copy link
Member

kislyuk commented Oct 30, 2022

Element '{http://www.w3.org/2000/09/xmldsig#}X509SerialNumber': '133503482272988939655787341095582449805' is not a valid value of the atomic type 'xs:integer'

See discussion in https://gitlab.gnome.org/GNOME/libxml2/-/issues/353 (while it's informative as to the problem and workarounds, it makes it sound like this problem only occurs on 32-bit systems, which is not the case)

If we do want to ignore the errors, we should probably switch from assert/exception based validation to emitting a validation log and filtering any errors of this type out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant