Opened 14 years ago
Closed 14 years ago
#3317 closed defect (wontfix)
template error replacing shpxy
Reported by: | regodon | Owned by: | sdlime |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | MapServer CGI | Version: | 5.2 |
Severity: | minor | Keywords: | |
Cc: |
Description
I'm trying to generate an imagemap with this template:
<area shape="circle" coords="[shpxy precision=0 proj=image yf=",7" xf=","]" href="?buffer=[buffer]&mode=nquery&map=[map]&mapxy=[shpxy precision=5 xf=" "]&scaledenom=[scaledenom]&qlayer=[qlayer]&searchmap=true&parque=[parque]" title="[parque]" alt="[parque]">
mapserver fails. The problem resides in using shpxy twice on the same line. If you broke the line in two:
<area shape="circle" coords="[shpxy precision=0 proj=image yf=",7" xf=","]" href="?buffer=[buffer]&mode=nquery&map=[map]&mapxy=[shpxy precision=5 xf=" "]&scaledenom=[scaledenom]&qlayer=[qlayer]&searchmap=true&parque=[parque]" title="[parque]" alt="[parque]">
Template is parsed correctly and a valid imagemap is generated.
Note:
See TracTickets
for help on using tickets.
This was fixed in 5.4 and higher and I'm not really inclined to go back to 5.2 at this point. So, it's a valid but I'm marking as WONTFIX...
Steve