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

Serge Dikiy serge at gisfiber.com
Wed May 16 05:57:42 EDT 2012


Hi,

https://github.com/sdikiy/tinyows/commit/2c93f1f865bd29a15ebc0b3b200d079497a00fa8

or use:
name="amprovregionamprov"
table="am_prov_region_am_prov"

BR

On 5/16/12, Andrea Peri <aperi2007 at gmail.com> wrote:
> 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 àèìòù
> -----------------
>


More information about the mapserver-dev mailing list