Hi,

I started to think that perhaps the XML schema is checked only for POST 
requests but not for KVP with CQL_FILTER and therefore we have never had 
problems with underscores in feature type names. Or could it be because we use 
WFS 1.0.0. in most applications?
-Jukka-





Lähettäjä: [email protected] [mailto:[email protected]] Puolesta Andrea 
Aime
Lähetetty: 6. marraskuuta 2014 11:46
Vastaanottaja: Rahkonen Jukka (Tike)
Kopio: Klemm, Stephan - LIST; GeoServer Mailing List List
Aihe: Re: [Geoserver-users] WFS GetFeature Post Request

On Wed, Nov 5, 2014 at 3:32 PM, Rahkonen Jukka (Tike) 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

By reading the WFS 1.1.0 standard with whole lot of examples with underscores 
in the names and also by comparing the schema of DescribeFeatureType which 
defines the typeName to be xsd:QName this feels like a bug in the standard. And 
we have loads of WFS layers which have been in production for 6 years and which 
have underscores in the names. If GeoServer now does not accept those I would 
call it as depreciation.

Nothing changed. I believe our Stephan enabled scrict CITE compliance in the 
WFS panel,
and that enables XML schema validation of all incoming requests, which results 
in this error.


WFS 2.0.0 refers to FES 2.0 
http://docs.opengeospatial.org/is/09-026r2/09-026r2.html  which makes it clear:
“typeNames parameter

The mandatory typeNames parameter shall be used within an ad hoc query 
expression to encode the names of one or more correlated resource types to be 
queried. Individual resource type names shall be encoded as QName (as given in 
W3C XML Schema Part 2).”

I haven't tried, but I'm almost sure you won't see that error if you use WFS 2.0


Now what is unclear is WFS 1.1.0 which says that underscores are NOT OK in 
query but they are OK for example in DescribeFeatureType

Forget the specification, it's the XML schema that matters here :-)

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to