16
|
Chapter 2
Understanding Requests
The following restrictions apply if you use a relative path to specify the
LAYERS parameter value:
■
Absolute paths are not allowed
■
Use only paths relative to the directories specified by the MWFSearchPath
parameter in the
config.ini
file, with the following exceptions:
❏
Relative paths that move upward in the file structure (paths with ..\,
for example) are not allowed
❏
Relative path names starting with .\ or ./ are not allowed
Autodesk MapGuide Autodesk MapGuide LiteView assumes that MWF
names are relative to the MWFSearchPath pathnames. Below are some exam-
ples of valid MWF names, assuming that
MyMap.mwf
exists in the appro-
priate folder:
■
MyMap.mwf
■
MyMap
■
reldir1/reldir2/MyMap
In Windows, you can’t use the following characters in file names:
\/:*?"<>|
Note
You can use the backslash (\) as a path separator whether or not you
enclose the MWF name in quotation marks. Names that contain restricted char-
acters (covered next) must be enclosed in quotes.
Restricted Characters in the LAYERS Parameter
You can’t use the following characters in a LAYERS parameter value:
■
control characters
■
space
■
forward slash (/)
■
comma (,)
■
ampersand (&)
■
pound (#)
■
percent (%)
■
certain alphanumeric symbols
For more information about restricted characters, visit http://www.w3.org/
Addressing/rfc1738.txt
To use restricted characters in the LAYERS parameter, you must encode them
in hexadecimal, and preface them with a percent symbol. After encoding
restricted characters, enclose the coded file name in quotation marks.
Содержание 15606-011408-9330 - MAPGUIDE R6.3 SITE LIC-UPG R6
Страница 1: ...April 2004 Autodesk MapGuide LiteView Developer s Guide ...
Страница 12: ...8 Chapter 1 Introduction ...
Страница 38: ...34 Chapter 2 Understanding Requests ...
Страница 90: ...86 Chapter 4 Configuring and Using the Sample Applications ...