I did not try it with the earlier version of libxml2, but I am using 2.8
without any problems.
-Steve
On 8/30/2012 12:12 PM, Eric wrote:
Hello list,
I have tried to search through the past archives but couldn't locate an
answer to my question. Apologies if this has already been answered.
I have just compiled TINYOWS and installed/configured it. I am going
through the tutorials, and in OL, I get the following error:
<?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='request'>
<ows:ExceptionText>XML request isn't valid</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
On the server side, tinyows gives me the following error:
[ERROR] Element '{http://www.w3.org/2001/XMLSchema}import': The
schema document
'/usr/local/tinyows/schema/gml/3.1.1/base/geometryAggregates.xsd'
cannot be imported, since it was already included or redefined.
Which seems to indicate a circular reference in the XSDs. I am using
libxml2 v2.6. I noticed that the recommended version for libxml2 is 2.8.
Will upgrading to the latest version resolve the issue?
My configuration file is as follows:
<tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
schema_dir="/usr/local/tinyows/schema/"
log="/var/log/tinyows.log"
log_level="7"
check_schema="1">
......
<layer retrievable="1"
writable="1"
ns_uri="http://www.tinyows.org/"
ns_prefix="demo"
name="frida"
title="Frida Parks" />
</tinyows>
Thanks for your help,
Eric
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users