Lines Matching defs:uri
3 # extend the uri package to deal with URN (RFC 2141)
11 package require uri 1.1.2
13 namespace eval ::uri {}
14 namespace eval ::uri::urn {
21 # Called by uri::split with a url to split into its parts.
23 proc ::uri::SplitUrn {uri} {
24 #@c Split the given uri into then URN component parts
25 #@a uri: the URI to split without it's scheme part.
30 if {[regexp -- ^$pattern $uri -> parts(nid) parts(nss)]} {
33 error "invalid urn syntax: \"$uri\" could not be parsed"
40 proc ::uri::JoinUrn args {
59 proc ::uri::urn::quote {url} {
88 proc ::uri::urn::unquote {url} {
103 proc ::uri::urn::unquote {url} {
119 ::uri::register {urn URN} {
131 package provide uri::urn $::uri::urn::version