skynav / ttv

Timed Text Markup Language (TTML) Validation Tools
1 stars 2 forks source link

Support externally specified schemas for validating extensions #27

Closed skynavga closed 10 years ago

skynavga commented 10 years ago

Add support for --external-schema option to permit adding external schema for validating foreign vocabulary. The value of this option should be a pair, NAMESPACE URL, where NAMESPACE specifies the external schema's namespace, and URL specifies the URL locating the schema. If URL is relative, then should be interpreted as a local file path relative to the current working directory. Multiple options should be permitted in order to add multiple schemas.

For example,

--external-schema http://external.com/schemas/foo http://external.com/schemas/foo.xsd

skynavga commented 10 years ago

Fixed in SHA: eb53c2903214b4fd0c0d812a61289f8e6a6b4968.