Aha! I saw this too, but it is not as bad as you might think at first.  :-)

If you look further down in your response, you should see that each 
wfs:member element redefines xmlns:gml and xmlns:wfs; this is perfectly 
legal if not moral! XML namespaces are lexically scoped, and can be 
redefined on any element. The result I see in my unit test 
(app-schema-test Gsml30WfsTest.testGetFeatureValid) is is schema-valid 
against GeoSciML 3.0rc1, a GML 3.2.1 application schema.

This unexpected (but valid) namespace behaviour is the result of our use 
of a shared XML transformation that supports both WFS 1.1 and WFS 2.0 
FeatureCollection. I would like to change this in the future, on the 
principle of least surprise.

Kind regards,
Ben.


On 05/05/11 00:06, [email protected] wrote:
> Hi Ben,
>
> I have tried this against very simple profile of GML 3.2 and it seems to 
> work.  However, I have noticed that the namespace uri for GML in the WFS 
> response document still appears to be the one for GML3.1/2 rather than GML3.2.
>
> Cheers
> Arif
>
> -----Original Message-----
> From: Ben Caradoc-Davies [mailto:[email protected]]
> Sent: 29 April 2011 08:15
> To: Shaon, Arif (STFC,RAL,ESC)
> Cc: [email protected]; [email protected]
> Subject: Re: [Geoserver-users] GML 3.2 Support (GSIP 50)
>
> Arif,
>
> today I committed support for GML 3.2 in app-schema to trunk. It should
> be available in the next nightly build. Note that this is very new and
> you may be the first one to try to use it.
>
> To access a GML 3.2 app-schema instance, you need to select the "gml32"
> OutputFormat in a WFS 1.1 request, for example, by appending
> outputformat=gml32 to a GET URL. DescribeFeatureType requests are just
> plain WFS 1.1.
>
> We would be very interested to know how well it works for you.
>
> Kind regards,
> Ben.
>
>
> On 15/04/11 11:00, [email protected] wrote:
>> Hi Ben,
>>
>> Thanks for your reply. I actually needed gml 3.2 support in the app schema 
>> plug-in for my current project. Ah well, I guess I will just have to wait 
>> for you to finish the implementation. I would be interested to take a look 
>> at the code myself but I simply don't have the time at the moment.
>>
>> By the way, my original email was a testament to why people should not use 
>> their mobile phones with the predictive text input feature switched on to 
>> send emails; it was all over the place! :)
>>
>> Best regards
>> Arif
>>
>>
>> ----- Reply message -----
>> From: "Ben Caradoc-Davies"<[email protected]>
>> To: "Shaon, Arif (STFC,RAL,ESC)"<[email protected]>
>> Cc: "Andrea Aime"<[email protected]>, 
>> "[email protected]"<[email protected]>
>> Subject: [Geoserver-users] GML 3.2 Support (GSIP 50)
>> Date: Fri, Apr 15, 2011 02:40
>>
>>
>>
>> Arif,
>>
>> note that GML 3.2 does not yet work for app-schema. I am working on this
>> right now! (Cyclic dependencies causing havoc in GeoTools.)
>> http://jira.codehaus.org/browse/GEOT-3327
>>
>> Kind regards,
>> Ben.
>>
>> On 15/04/11 04:43, Andrea Aime wrote:
>>> On Thu, Apr 14, 2011 at 9:08 
>>> PM,<[email protected]<mailto:[email protected]>>    wrote:
>>> Hi,
>>>
>>> The web page for this proposal shows that it has been indicated. Could 
>>> someone please tell point me to the installation instruction for this?
>>>
>>> No installation instructions need, it's built in starting with GeoServer 
>>> 2.1, just ask for the gml 3.2 output format, like this:
>>>
>>> http://demo1.geo-solutions.it/playground/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=GeoSolutions:Italy-Regions&maxFeatures=1&outputFormat=text/xml;%20subtype=gml/3.2
>>>
>>> Cheers
>>> Andrea
>>>
>>> --
>>> -------------------------------------------------------
>>> Ing. Andrea Aime
>>> GeoSolutions S.A.S.
>>> Tech lead
>>>
>>> Via Poggio alle Viti 1187
>>> 55054  Massarosa (LU)
>>> Italy
>>>
>>> phone: +39 0584 962313
>>> fax:      +39 0584 962313
>>> mob:    +39 333 8128928
>>>
>>> http://www.geo-solutions.it
>>> http://geo-solutions.blogspot.com/
>>> http://www.youtube.com/user/GeoSolutionsIT
>>> http://www.linkedin.com/in/andreaaime
>>> http://twitter.com/geowolf
>>>
>>> -------------------------------------------------------
>>>
>>
>> --
>> Ben Caradoc-Davies<[email protected]>
>> Software Engineering Team Leader
>> CSIRO Earth Science and Resource Engineering
>> Australian Resources Research Centre
>

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to