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

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Wed May 16 07:16:48 EDT 2012


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

No, as the message clearly states, the namespace prefix 'idprovince'
can not be resolved to a namespace URI:

> >[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.

therefore it can neither be a valid QName nor TypeNameListType.
You should declare the namespace via
  xmlns:idprovince="http://www.tinyows.org/"
f.e. at the Query element. BTW you should use your own namespace URI
when going productive.

HTH
 


More information about the mapserver-dev mailing list