Opened 20 years ago

Last modified 15 years ago

#801 new defect

GML document produced is not valid — at Initial Version

Reported by: assefa Owned by: mapserverbugs
Priority: high Milestone: 6.0 release
Component: WMS Server Version: 4.3
Severity: normal Keywords:
Cc: nsavard@…, tomkralidis, sdlime, bartvde@…, dmorissette

Description

GML producded as a result of a GetFeatureInfo request produces an "ivalid" 
GML. The validation was done using the OGC cite validator.

Here is URL that produces a problem : http://www2.dmsolutions.ca/cgi-
bin/mswms_ogc_cite?
Y=60&LaYeRs=Lakes&X=60&VeRsIoN=1.1.1&ReQuEsT=GetFeatureInfo&FoRmAt=image/gif&Wi
DtH=200&BbOx=0,-
0.0020,0.0040,0&QuErY_LaYeRs=Lakes&HeIgHt=100&StYlEs=&SrS=EPSG:4326&InFo_fOrMaT
=application/vnd.ogc.gml


 Here is the GML produced :

 <?xml version="1.0" encoding="ISO-8859-1"?>

<msGMLOutput 
	 xmlns:gml="http://www.opengis.net/gml"
	 xmlns:xlink="http://www.w3.org/1999/xlink"
	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Lakes_layer>
		<Lakes_feature>
			<FID>101</FID>
			<NAME>Blue Lake</NAME>
			<gml:boundedBy>
				<gml:Box srsName="EPSG:4326">
					<gml:coordinates>
						0.000600,-0.001800 0.003100,-
0.000100
					</gml:coordinates>
				</gml:Box>
			</gml:boundedBy>
			<gml:MultiPolygon srsName="EPSG:4326">
			</gml:MultiPolygon>
		</Lakes_feature>
	</Lakes_layer>
</msGMLOutput>

Change History (0)

Note: See TracTickets for help on using tickets.