shexSpec / shex

ShEx language issues, including new features for e.g. ShEx2.1
25 stars 8 forks source link

Mime type for validator schema #62

Open hsolbrig opened 7 years ago

hsolbrig commented 7 years ago

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.

gkellogg commented 7 years ago

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.