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

XmlValidation: schema validation should return a structured error report not a list of strings #170

Open
ppazos opened this issue Jul 3, 2023 · 0 comments
Assignees
Milestone

Comments

@ppazos
Copy link
Collaborator

ppazos commented Jul 3, 2023

The issue with the list of strings is we can't provide much detail about the error but internally we are processing the exceptions that contain structured data that we can return in the error report.

For instance, returning the XML path or line number where the error happens would be useful, or even the specific element name.

Check what we are returning in the JSON schema validation.

@ppazos ppazos self-assigned this Jul 3, 2023
@ppazos ppazos added this to the v0.6 milestone Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant