[TinyOWS-users] SIS Map Browser XML validation error with my own namespace
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Thu May 19 05:18:32 EST 2011
Hi,
I have a few feature types configured to use tows: namespace like in the
configuration example and the rest of feature types configured to use my
own namespace. I have configured them by using at the layer level
ns_prefix="lv"
ns_uri="http://latuviitta.fi"
GetCapabilities v 1.0.0 (SIS Map Browser supports only WFS 1.0.0) is
listing theser "lv" feature types this way
<FeatureType>
<Name>lv:mml_cityp</Name>
<Title>MML-kaupungit v. 2011</Title>
<Abstract>Maanmittauslaitoksen 1:1000000 cityp-taso</Abstract>
<SRS>EPSG:3067</SRS>
<LatLongBoundingBox minx="16.289627" miny="59.687737" maxx="32.750068"
maxy="69.987436"/>
</FeatureType>
Schema can be found from here
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=des
cribefeaturetype&typename=lv:mml_cityp
Now if I use SIS Map Browser in XML validating mode all the feature
types in lv:namespace are producing error like this one
" Schema in
http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.0.0&request=Des
cribeFeatureType&Typename=lv:mml_cityp
has a different namespace from the one specified in the instance
document http://www.tinyows.org.
at line 17, column 2 in file
http://188.64.1.61/cgi-bin/tinyows?request=GetFeature&version=1.0.0&serv
ice=WFS&typename=lv:mml_cityp&propertyname=igds_level,dxf_layer,taajaid,
asulkm1999,text1,text2,text3,the_geom&maxFeatures=20000
I am wondering if the reason for this validation error could be in the
beginning of the GetFeature result which begins with a pointer to
www.tinyows.org
<wfs:FeatureCollection
xsi:schemaLocation="http://www.tinyows.org/
http://188.64.1.61/cgi-bin/tinyows?service=WFS&version=1.0.0&request=Des
cribeFeatureType&Typename=lv:mml_cityp http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
http://www.opengis.net/gml
http://schemas.opengis.net/gml/2.1.2/feature.xsd">
The error does not prevent from loading features into SIS Map Browser if
I set the schema validation off. I do not even know if the error is real
but I report it anyhow.
I am still testing with TinyOWS r541 because I cannot update it before
this evening.
-Jukka Rahkonen-
More information about the TinyOWS-users
mailing list