Opened 15 years ago
Closed 13 years ago
#2928 closed defect (fixed)
metadata documenation - keys of key-value pairs need to be quoted as well as values in mapfiles
Reported by: | karll | Owned by: | jmckenna |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Documentation - MapServer | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | havatv |
Description
In the layer documentation, there's example metadata definitions that look like this:
METADATA title "My layer title" author "Me!" END
Actually attempting this will generate a parsing error, something along the lines of:
warning: doing set map [::mapscript::mapObj -file ./flights.map] error: code: 9 message: Parsing error near (title):(line 426) routine: loadHashTable()
To parse and work correctly, the keys must be quoted as well, as in:
METADATA "title" "My layer title" "author" "Me!" END
Note:
See TracTickets
for help on using tickets.
Fixed for 6.0 and trunk in r12009.