[mapserver-dev] Tinyows: Correct name declaration: use of char "_"

Andrea Peri aperi2007 at gmail.com
Wed May 16 05:20:00 EDT 2012


Hi,
I'm testing the tinyows of mapserver trunk.

I'm having this errors when try a post query with a filter:

>[Wed May 16 13:01:28 2012] [ERROR] Element '{
http://www.opengis.net/wfs}Query', attribute 'typeName': The QName value
>'idprovince:am_prov_region_am_prov' has no corresponding namespace
declaration in scope.
>
>[Wed May 16 13:01:28 2012] [ERROR] Element '{
http://www.opengis.net/wfs}Query', attribute 'typeName':
>'idprovince:am_prov_region_am_prov' is not a valid value of the atomic
type 'xs:QName'.
>
>[Wed May 16 13:01:28 2012] [ERROR] Element '{
http://www.opengis.net/wfs}Query', attribute 'typeName':
>'idprovince:am_prov_region_am_prov' is not a valid value of the list type
'{http://www.opengis.net/wfs}TypeNameListType'.

I'm not sure to understand but AFAIK,

It seem don't like the char "_" in the name of table (right ?).

But I don't understand why because it is a valid char for postgres/postgis.

Perhaps there is some other question I miss ?

The layer tinyows setting I'm using is this:

-----
  <layer ns_prefix="idprovince"
    ns_uri="http://www.tinyows.org/"
    name="am_prov_region_am_prov"
    title="blah blah blah"
    retrievable="1"
    writable="0"
    schema="wfs"
    abstract="blah blah blah"
    keywords="confini,province,limiti"
    srid="25832,3003,4326"
  />
----

Any hint is welcome ,

thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120516/943954a8/attachment.html


More information about the mapserver-dev mailing list