[//000000001]: # (uri\_urn \- Tcl Uniform Resource Identifier Management) [//000000002]: # (Generated from file 'urn\-scheme\.man' by tcllib/doctools with format 'markdown') [//000000003]: # (uri\_urn\(n\) 1\.0\.3 tcllib "Tcl Uniform Resource Identifier Management")
[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]
# NAME uri\_urn \- URI utilities, URN scheme # Table Of Contents - [Table Of Contents](#toc) - [Synopsis](#synopsis) - [Description](#section1) - [COMMANDS](#section2) - [Bugs, Ideas, Feedback](#section3) - [Keywords](#keywords) - [Category](#category) # SYNOPSIS package require Tcl 8\.2 package require uri::urn ?1\.0\.3? [__uri::urn::quote__ *url*](#1) [__uri::urn::unquote__ *url*](#2) # DESCRIPTION This package provides two commands to quote and unquote the disallowed characters for url using the *[urn](\.\./\.\./\.\./\.\./index\.md\#urn)* scheme, registers the scheme with the package __[uri](uri\.md)__, and provides internal helpers which will be automatically used by the commands __uri::split__ and __uri::join__ of package __[uri](uri\.md)__ to handle urls using the *[urn](\.\./\.\./\.\./\.\./index\.md\#urn)* scheme\. # COMMANDS - __uri::urn::quote__ *url* This command quotes the characters disallowed by the *[urn](\.\./\.\./\.\./\.\./index\.md\#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](\.\./\.\./\.\./\.\./index\.md\#urn)* url, removes the quoting from all disallowed characters, 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 output 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](\.\./\.\./\.\./\.\./index\.md\#rfc\_2141), [uri](\.\./\.\./\.\./\.\./index\.md\#uri), [url](\.\./\.\./\.\./\.\./index\.md\#url), [urn](\.\./\.\./\.\./\.\./index\.md\#urn) # CATEGORY Networking