tag:blogger.com,1999:blog-694855878384792308.post2042215397931411003..comments2024-03-15T23:19:22.318-07:00Comments on Java67: Difference between URL, URI and URN - Interview Questionjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-694855878384792308.post-3341737653364830872019-12-20T01:27:42.488-08:002019-12-20T01:27:42.488-08:00Clearly explainedClearly explainedabhinavhttps://www.blogger.com/profile/06863320013182671210noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-24868376028321109352017-06-13T10:41:51.153-07:002017-06-13T10:41:51.153-07:00Nice ArticleNice Articleadsadhttps://www.blogger.com/profile/12406847367530898619noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-65819627222029454722015-10-12T08:44:18.064-07:002015-10-12T08:44:18.064-07:00You seem to have changed your closing diagram from...You seem to have changed your closing diagram from what it was when this article was first posted (as seen <a href="https://twitter.com/javinpaul/status/652957316111855620" rel="nofollow">here</a>) ... and now it's incorrect. I think you've also changed some content (or possibly I didn't read closely enough the first time), as it's also incorrect.<br /><br />In your first paragraph, "the main difference between URL and URI is protocol," "URI" should be "URN" -- but this is not accurate. For a URL, the scheme (the part before the first colon, ":") is also a retrieval protocol; for URN, the scheme *may* be -- but is not necessarily -- a retrieval protocol.<br /><br />Later, in "What is URN?" you say "URN is completely different than URL as it doesn't include any protocol." As above, this is not accurate. URN scheme *may* not be a retrieval protocol -- but when a URI is both a URL *and* a URN, the scheme *is* a retrieval protocol.<br /><br />and that closing diagram...<br /><br />Left ellipse == URN (Name).<br />Right ellipse == URL (Locator).<br />Union == URI (Identifier).<br />Intersection == URN *and* URL.<br /><br />All URNs are URIs.<br />All URLs are URIs.<br /><br />Some (but not all) URLs are also URNs, and <br />some (but not all) URNs are also URLs.<br /><br />Some (but not all) URIs are URNs, and <br />some (but not all) URIs are URLs, and <br />some (but not all) URIs are both URLs and URNs.<br /><br />Ted Thibodeau Jrhttp://twitter.com/TallTed/noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-65387109130461790082013-06-26T22:42:33.678-07:002013-06-26T22:42:33.678-07:00I am still not clear about URN.
Can you please con...I am still not clear about URN.<br />Can you please confirm me, according to RFC 3986 is ":" (colon) is reserved character for URN ?Anonymoushttps://www.blogger.com/profile/07839391931944029686noreply@blogger.com