Well... it depends on how you want to look at it. The URI working
group's definition of URL is
scheme:anything
The WWW definition of URI (the contents of the HREF attribute) is:
scheme://hostport/dir1/dir2;param=value?search#fragment
where all the parts are optional, but only certain combinations
make sense. (See
http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html
for details)
So any WWW URI is an IETF URL, but the converse isn't true.
HTParse.c assumes you're handing it a URI.
Now if you define the syntax of URN to be:
URN:anything
then any URN is a URL, but it's not a URI.
It would make more sense to me to define the syntax of URNs
such thaty they are also URIs. So in stead of:
HREF="URN:IANA:IETF:rfc/822"
you would write:
HREF="URN://IETF.IANA/rfc/822"
It's just an expedient measure to hasten deployment. The syntaxes
have equivalent expressive power.
Dan