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

Validation API for input files #136

Open
bertfrees opened this issue Sep 13, 2018 · 0 comments
Open

Validation API for input files #136

bertfrees opened this issue Sep 13, 2018 · 0 comments
Labels

Comments

@bertfrees
Copy link
Member

This is not the same as an API for validating data types, although the two could possibly be combined.

It could either be

  • a simple function, similar to the current data-types API, to get the XML definition (RelaxNG) of a certain input media-type, which would allow clients to do anything you can do with a RelaxNG grammar, e.g. validation or completion.
  • or it could be similar to the API described in Validation API for data types (options) #135 for validating data types, namely upload a file and get a validation report back. This would allow lighter clients, but is possibly more limiting.

A use case is the TTS configuration file. The new API would basically assist you with writing the config file, e.g. give you a list of supported voices. A more far-fetched use case is to validate a CSS style sheet.

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

No branches or pull requests

1 participant