shex icon indicating copy to clipboard operation
shex copied to clipboard

Mime type for validator schema

Open hsolbrig opened this issue 8 years ago • 1 comments

The USVString part of the '''schema''' parameter for the validator api: ''' Promise validate((USVString or RDFGraph) schema, ''' could be a ShExC, ShExJ, ShExR, ... string. A mime type would be quite useful.

hsolbrig avatar May 03 '17 14:05 hsolbrig

WebIDL is somewhat restricted in the datatypes available. URL parameters are commonly DOMString or USVString in other W3C Specs. Mime Types come in when interpreting the dereferenced result.

gkellogg avatar May 03 '17 15:05 gkellogg