[TinyOWS-users] problem with schema

luca marletta lucamarle at gmail.com
Sat Apr 16 04:55:01 EST 2011


Hi all,

I was using tinyows from long but now a face a basic trouble and I
donìt know from what change it gets out and for sure not changes in
tinyows config .

in firebug get this problem
<?xml version='1.0' encoding='UTF-8'?>
<ows:ExceptionReport
 xmlns='http://www.opengis.net/ows'
 xmlns:ows='http://www.opengis.net/ows'
 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
 xsi:schemaLocation='http://www.opengis.net/ows
http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd'
 version='1.1.0' language='en'>
 <ows:Exception exceptionCode='InvalidParameterValue' locator='FILTER'>
  <ows:ExceptionText>Filter parameter doesn't validate the filter.xsd
schema</ows:ExceptionText>
 </ows:Exception>
</ows:ExceptionReport>


and in log
[Sat Apr 16 11:41:19 2011] [QUERY] <wfs:GetFeature
xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd
http://127.0.0.1
http://gorla.local/cgi-bin/tinyows_gorla_cdu?service=WFS&amp;request=DescribeFeatureType&amp;version=1.0.0&amp;TypeName=sitparticellecdu"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:Query
typeName="feature:sitparticellecdu"
xmlns:feature="http://127.0.0.1"><ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc"><ogc:And><ogc:PropertyIsEqualTo><ogc:PropertyName>selected</ogc:PropertyName><ogc:Literal>1</ogc:Literal></ogc:PropertyIsEqualTo><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Box
xmlns:gml="http://www.opengis.net/gml"
srsName="EPSG:3003"><gml:coordinates decimal="." cs="," ts="
">1491753.8850514,5057393.7817066
1491944.3849486,5057541.9482934</gml:coordinates></gml:Box></ogc:BBOX></ogc:And></ogc:Filter></wfs:Query></wfs:GetFeature>
[Sat Apr 16 11:41:19 2011] [ERROR] Failed to locate the main schema
resource at 'filter/1.0.0/filter.xsd'.

[Sat Apr 16 11:41:19 2011] [ERROR] Filter parameter doesn't validate
the filter.xsd schema
[Sat Apr 16 11:41:19 2011] [EVENT] == TINYOWS SHUTDOWN ==

maybe the problem come from Failed to locate the main schema resource
at 'filter/1.0.0/filter.xsd'.

actually I have installed correctly schema and the file is there
/usr/local/tinyows/schema/filter/1.0.0/filter.xsd

this is my config

<tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
				schema_dir="/usr/local/tinyows/schema/"
				check_schema="0"
				check_valid_geom="1"
				meter_precision="6"
				log="/tmp/tinyows_gorla.log">

	<pg host="127.0.0.1" user="...." password="...." dbname="...." port="5432"/>

	<metadata
			name="Ufficio Tecnico"
			title="TinyOWS Service"
			keywords="...."
			online_resource="http://127.0.0.1/cgi-bin/tinyows"
			fees="free"
			access_constraint="nope" >
		<abstract>
			Viario
		</abstract>
		<contact
			name="...."
			site="...."
			individual_name="...."
			position=""
			phone="...."
			address="...."
			postcode="...."
			city="...."
			country="...."
			email="...." />
	</metadata>
	<layer	queryable	=	"1"
			retrievable	=	"1"
			prefix		=	"sitparticellecdu"
			server		=	"http://127.0.0.1"
			name		=	"sitparticellecdu"
			srid		        =	"3003"
			title		        =	"sitparticellecdu"
			schema		=	"public" />

</tinyows>


I'm using the tinyows 0.9 but upgrading now to the 10 from svn and
adjusting the config I got the same error.

It's funny that I have on my server the same configuration and there
it works perfectly (for surea there are some difference but I cannot
get what there are.

could some one help please?

thanks a lot

luca

luca marletta
www.beopen.it


More information about the TinyOWS-users mailing list