OGC Cite WMS Test Suite-Invalid GML document structure returned by the WMS server
After the above request (see URL) was sent to the WMS server, the server sent
back a GML document that did not validated against the specification.
Test path: wms/wmsops/getfeatureinfo/params/info_format/3
Error reported by the validator:
* Thu Jul 31 17:20:49 BST 2003 : Line = 6 Column = 57 Message = {cvc-elt.1:
Cannot find the declaration of element 'msGMLOutput'.}
I tried many tests but for now I can figure out what is the problem.
--------------------------------------
see also the email discussion between Jerome Sonnet and Paul Austin. He is a
snippet:
All,
I have a question regarding the test
wms/wmsops/getfeatureinfo/params/info_format/3.
We have two errors,
Thu Jul 31 09:17:33 BST 2003 : Line = 2 Column = 371 Message =
{cvc-elt.1: Cannot find the declaration of element
'cblf:BlueLakeFeatureCollectionType'.}
Thu Jul 31 09:17:33 BST 2003 : Line = 9 Column = 110 Message =
{cvc-complex-type.2.4.a: Invalid content starting with element
'cblf:LakeFeature'. The content must match
'(("http://www.opengis.net/gml":_Feature)){0-1}'.}
While what we are sending bakc seems correct to me,
<?xml version="1.0" encoding="UTF-8"?>
<cblf:BlueLakeFeatureCollectionType
xmlns:cblf="http://www.opengis.net/cite/bluelake"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:cgf="http://www.opengis.net/cite/geometry"
xmlns:ogcwfs="http://www.opengis.net/wfs"
scope="http://dev.ionicsoft.com:8081/cite/wfs/CITEBL?">
<gml:boundedBy>
<gml:Box srsName="EPSG:4326">
<gml:coordinates>6.0E-4,-0.0018 0.0031,-1.0E-4</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<cblf:LakeFeature
fid="LakeFeatureType.4332384645463732393038453242394445303334303830303230463035364134">
<cblf:name>Blue Lake</cblf:name>
<cblf:shore>
<gml:Polygon srsName="EPSG:4326">
<gml:outerBoundaryIs>
<gml:LinearRing srsName="EPSG:4326">
<gml:coordinates>6.0E-4,-0.0018 0.0010,-6.0E-4 0.0024,-1.0E-4
0.0031,-0.0015 6.0E-4,-0.0018</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</cblf:shore>
</cblf:LakeFeature>
</gml:featureMember>
</cblf:BlueLakeFeatureCollectionType>
Does this test requires any schemalocation or other specific attribute.
If so, this test is not compliant with the specifications. It is not
said anywhere that we have to set the schemalocation.
Jerome.
Change History
(9)
bug_file_loc: |
http://www2.dmsolutions.ca/cgi-bin/mswms_ogc_cite?Y=60&X=60&LaYeRs=Lakes&VeRsIoN=1.1.1&ReQuEsT=GetFeatureInfo&FoRmAt=image/gif&WiDtH=200&BbOx=0,-0.0020,0.0040,0&QuErY_LaYeRs=Lakes&HeIgHt=100&StYlEs=&SrS=EPSG:4326&InFo_fOrMaT=application/vnd.ogc.gml → http://cite.opengroup.org/tsOGC/interface/ViewLog?testid=wms/wmsops/getfeatureinfo/params/info_format/3&ts=0001&sesstype=OGC
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Milestone: |
→ FUTURE
|
Owner: |
changed from dmorissette@… to mapserverbugs
|
Status: |
reopened → new
|