uri_urn(3tcl) Tcl Uniform Resource Identifier Management uri_urn(3tcl)
______________________________________________________________________________
NAME
uri_urn - URI utilities, URN scheme
SYNOPSIS
package require Tcl 8.2
package require uri::urn ?1.0.3?
uri::urn::quote url
uri::urn::unquote url
______________________________________________________________________________
DESCRIPTION
This package provides two commands to quote and unquote the disallowed
characters for url using the urn scheme, registers the scheme with the
package uri, and provides internal helpers which will be automatically
used by the commands uri::split and uri::join of package uri to handle
urls using the urn scheme.
COMMANDS
uri::urn::quote url
This command quotes the characters disallowed by the urn scheme
(per RFC 2141 sec2.2) in the url and returns the modified url as
its result.
uri::urn::unquote url
This commands performs the reverse of ::uri::urn::quote. It
takes an urn url, removes the quoting from all disallowed char-
acters, and returns the modified urls as its result.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain
bugs and other problems. Please report such in the category uri of the
Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also
report any ideas for enhancements you may have for either package
and/or documentation.
When proposing code changes, please provide unified diffs, i.e the out-
put of diff -u.
Note further that attachments are strongly preferred over inlined
patches. Attachments can be made by going to the Edit form of the
ticket immediately after its creation, and then using the left-most
button in the secondary navigation bar.
KEYWORDS
rfc 2141, uri, url, urn
CATEGORY
Networking
tcllib 1.0.3 uri_urn(3tcl)