Opened 17 years ago
Last modified 16 years ago
#2238 new defect
incorrect qouting of generated mapfile
Reported by: | cph | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | tomkralidis |
Description
When a mapfile is generated from a mapobject (using the python mapscript interface) using the 'save' method, the output is not valid as it cannot be input directly. The problem is that if there is a DATA line it is quoted with a double quote but should be quoted by a single quote. The following patch should solve the issue.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | mapfile-patch added |
---|
comment:1 by , 16 years ago
Cc: | added |
---|
Why do double quoted DATA directives cause problems? Can you clarify and / or attach a test case?
Note:
See TracTickets
for help on using tickets.
the patch for mapfile.c to solve this issue