Bugzilla – Bug 721
data: scheme URIs with a fragment id are reported as errors
Last modified: 2010-06-22 10:15:47 CEST
The validator raises errors when given data: scheme URIs with a fragment id (eg. "data:text/html;base64,Zm9vYmFy#frag"). This behavior does not conform to RFC 3986. RFC 3986 says: "Fragment identifier semantics are independent of the URI scheme and thus cannot be redefined by scheme specifications."
Created attachment 167 [details] a patch for the bug 721 Reusing Jena's IRI object to extract the PATH part to remove the fragment part of the URL. If a string URL given, create a new IRI object.
Created attachment 168 [details] keeping it as errors, and showing user friendly message
Landed and deployed. Thank you.