Minor fixes.

This commit is contained in:
sperber 2003-01-22 10:50:16 +00:00
parent ebcb7461ae
commit a95181e4bc
1 changed files with 8 additions and 8 deletions

View File

@ -7,18 +7,18 @@ The \ex{uri} structure contains a library for dealing with URIs.
A URI (Uniform Resource Identifier) is of following syntax:
%
\begin{inset}
[scheme] : \var{path} [{\normalfont?\/} search] [{\normalfont\#} fragid]
[\var{scheme}] \verb|:| \var{path} [\verb|?| \var{search}] [\verb|#| \var{fragid}]
\end{inset}
%
Parts in brackets may be ommitted.
Parts in brackets may be omitted.
The URI contains characters like \verb|:| to indicate its different
parts. Some special characters are \emph{escaped} if they are a
regular part of a name and not indicators for the structure of a URI.
Escape sequences are of following scheme: \verb|\%hh| where \verb|h|
Escape sequences are of following scheme: \verb|%|\var{h}\var{h} where \var{h}
is a hexadecimal digit. The hexadecimal number refers to the
ASCII of the escaped character, e.g.\ \ex{\%20} is space (ASCII
32) and \ex{\%61} is `a' (ASCII 97). This module
ASCII of the escaped character, e.g.\ \verb|%20| is space (ASCII
32) and \verb|%61| is `a' (ASCII 97). This module
provides procedures to escape and unescape strings that are meant to
be used in a URI.
@ -34,7 +34,7 @@ be used in a URI.
responsible for doing this. If the \var{scheme}, \var{search}
or \var{fragid} portions are not specified, they are \sharpf.
Otherwise, \var{scheme}, \var{search}, and \var{fragid} are
strings. \var{path} is a non-empty string list----the path split
strings. \var{path} is a non-empty string list---the path split
at slashes.
\end{desc}
@ -95,7 +95,7 @@ syntactically meaningful reserved characters (e.g., paths with URI
slashes or colons)---they'll be escaped, and lose their special
meaning. E.g.\ it would be a mistake to apply \ex{escape-uri} to
\begin{verbatim}
//lcs.mit.edu:8001/foo/bar.html}
//lcs.mit.edu:8001/foo/bar.html
\end{verbatim}
%
because the sla\-shes and co\-lons would be escaped.
@ -112,7 +112,7 @@ because the sla\-shes and co\-lons would be escaped.
\codex{("bar" "col")}
\end{desc}
\defun{uri-path->uri}{plist}{string}
\defun{uri-path->uri}{path}{string}
\begin{desc}
This procedure generates a path out of a URI path list by inserting
slashes between the elements of \var{plist}.