[CITE-Forum] Testing Locally

Richard Martell rmartell at galdosinc.com
Fri Apr 26 16:29:53 EDT 2013


All,


This test (wfs-1.1.0-Basic-GetFeature-tc33.1) runs in te4 as expected 
(and passes) against the reference implementation at 
<http://cite.demo.opengeo.org:8080/geoserver_wfs11/wfs?request=GetCapabilities&service=WFS&version=1.1.0>

The secondary GetFeature request includes this query:

<wfs:Query srsName="urn:ogc:def:crs:EPSG::4326" typeName="sf:PrimitiveGeoFeature">
  <ogc:Filter>
    <ogc:GmlObjectId gml:id="PrimitiveGeoFeature.f001"/>
  </ogc:Filter>
</wfs:Query>


Baris, can you post the initial wfs:FeatureCollection response you received? 
Only one @gml:id value should be extracted.


--
Richard
 

> -----Original Message-----
> From: Sebastian Goerke [mailto:goerke at lat-lon.de] 
> Sent: Thursday, 25 April, 2013 23:29
> To: cite-forum at lists.opengeospatial.org
> Cc: Richard Martell
> Subject: Re: [CITE-Forum] Testing Locally
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Baris,
> 
> for some reason it seems, that behaviour of gml:id="{$gml.id}" as, in
> my opinion, it worked correctly before switching to teamengine 4.
> And it should work correctly as the test declares it like the 
> following:
> 
> $request1//sf:PrimitiveGeoFeature[1]/@gml:id
> 
> So it shall be only the first ID...
> 
> @Richard, any idea about the behaviour with TE 4?
> 
> Regards
> 
> Sebastian
> 
> 
> Am 25.04.2013 23:59, schrieb BARIS KAZAR:
> > Hi,- IMHO the request needs to be like: <?xml version="1.0"
> > encoding="UTF-8"?> <wfs:GetFeature
> > xmlns:wfs="http://www.opengis.net/wfs" 
> > xmlns:gml="http://www.opengis.net/gml" 
> > xmlns:ogc="http://www.opengis.net/ogc" version="1.1.0"
> > service="WFS"> <wfs:Query
> > xmlns:sf="http://cite.opengeospatial.org/gmlsf" 
> > typeName="sf:PrimitiveGeoFeature"
> > srsName="urn:ogc:def:crs:EPSG::4326"> <ogc:Filter> <ogc:GmlObjectId
> > gml:id="f001"/> <ogc:GmlObjectId gml:id="f002"/> <ogc:GmlObjectId
> > gml:id="f003"/> <ogc:GmlObjectId gml:id="f008"/> <ogc:GmlObjectId
> > gml:id="f015"/> </ogc:Filter> </wfs:Query> </wfs:GetFeature>
> > 
> > instead of <wfs:GetFeature version="1.1.0"
> > service="WFS"><wfs:Query typeName="sf:PrimitiveGeoFeature"
> > srsName="urn:ogc:def:crs:EPSG::4326"> <ogc:Filter> <ogc:GmlObjectId
> > gml:id="f001 f002 f003 f008 f015"/> </ogc:Filter> </wfs:Query> 
> > </wfs:GetFeature>
> > 
> > Any suggestions on the gml:id attribute of <ogc:GmlObjectId>
> > element, please?
> > 
> > Best regards baris
> > 
> > On 4/25/2013 5:19 PM, BARIS KAZAR wrote:
> >> Hi,- I think there must have been some bug in the CITE TeamEngine
> >> or the CITE test scripts since the following snippet seems
> >> picking up all the gml:id's now: <ogc:GmlObjectId
> >> gml:id="{$gml.id}"/>
> >> 
> >> Thanks


More information about the CITE-Forum mailing list