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

Adding support for XML validation with XSD #20

Open
dngferreira opened this issue Nov 24, 2015 · 4 comments
Open

Adding support for XML validation with XSD #20

dngferreira opened this issue Nov 24, 2015 · 4 comments

Comments

@dngferreira
Copy link

This could be an interesting enhacement for the xml filter.
Is this planned? How can I help?

@jordansissel
Copy link
Contributor

+1 I like this idea.

@jordansissel
Copy link
Contributor

As far as how to help, can you describe what you want the behavior to be? (I have some questions I'd propose for clarifying behavior, but I want to see what you want first)

@dngferreira
Copy link
Author

To start with I think it should be similar to the way grok tags the data when it cannot parse.
Tag the document with an "xmlvalidationfailed" for example.
Add support for xsd format as a validator.

Later it could be extended for other formats like Relax NG and others.
But I think a tag stating if it was parsed or not and XSD support would be enough for 80% of the cases.

@dngferreira
Copy link
Author

@jordansissel do you have any other thing you would want to add?

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

2 participants