Closed palemieux closed 4 years ago
The reason you are not seeing an error here is because URI.js does not perform validation on a parsed URI. Instead, it will try and parse the URI as permissively as it can. URI validation is not currently supported by this library.
urijs.parse("any(http://www.w3.org/ns/ttml/profile/ttml2-transformation")
does not result in an error, even though the
scheme
component of an absolute URI is constrained toALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
per RFC 3986, and thepath-noscheme
of a relative URI cannot contain a":"
until after the first"/".