Opened 14 years ago
Closed 14 years ago
#3088 closed bug (fixed)
QgisMapServer: trimmed xml
Reported by: | Mavka | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.6.0 |
Component: | Build/Install | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | XP | Awaiting user input: | no |
Description
OSGeo4W / qgis build 14343
Sometimes (not always) xml-answers are trimed.
Example 1:
Q:
http://localhost/qgis/qgis_mapserv.fcgi.exe
A:
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" > <ServiceException code="ServiceNotSpecified" >Service not specified. The SERVICE parameter is mandatory</ServiceException> </ServiceExceptionReport
The last quoter '>' is trimmed
Example 2:
Q:
http://localhost/qgis/qgis_mapserv.fcgi.exe? SERVICE=WMS&VERSION=1.3.0& REQUEST=GetCapabilities
A (incorrect):
... <Exception> <Format>text/xml</Format> </Exception> <Layer queryable="1">
A (correct):
... <Exception> <Format>text/xml</Format> </Exception> <Layer queryable="1"> <Name>my_layer_name</Name> </Layer> </Capability> </WMS_Capabilities>
But when I use 'WMS Inspector' (Firefox addon), all answers done correct.
Note:
See TracTickets
for help on using tickets.
fixed in r14345.