<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello list,<br>
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.<br>
<br>
I have just compiled TINYOWS and installed/configured it. I am
going through the tutorials, and in OL, I get the following error:<br>
</font>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<blockquote>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "><span class="webkit-html-tag" style="box-sizing:
border-box; color: rgb(136, 18, 128); "><</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">?xml</span> <span
class="webkit-html-attribute-name" style="box-sizing:
border-box; color: rgb(153, 69, 0); ">version</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'1.0'</span> <span
class="webkit-html-attribute-name" style="box-sizing:
border-box; color: rgb(153, 69, 0); ">encoding</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'UTF-8'</span><span
class="webkit-html-attribute-name" style="box-sizing:
border-box; color: rgb(153, 69, 0); ">?</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "><span class="webkit-html-tag" style="box-sizing:
border-box; color: rgb(136, 18, 128); "><</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">ows:ExceptionReport</span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-attribute-name"
style="box-sizing: border-box; color: rgb(153, 69, 0); ">xmlns</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'<a class="moz-txt-link-freetext" href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>'</span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-attribute-name"
style="box-sizing: border-box; color: rgb(153, 69, 0); ">xmlns:ows</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'<a class="moz-txt-link-freetext" href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>'</span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-attribute-name"
style="box-sizing: border-box; color: rgb(153, 69, 0); ">xmlns:xsi</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'<a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>'</span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-attribute-name"
style="box-sizing: border-box; color: rgb(153, 69, 0); ">xsi:schemaLocation</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'<a class="moz-txt-link-freetext" href="http://www.opengis.net/ows">http://www.opengis.net/ows</a>
<a class="moz-txt-link-freetext" href="http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd</a>'</span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-attribute-name"
style="box-sizing: border-box; color: rgb(153, 69, 0); ">version</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'1.1.0'</span> <span
class="webkit-html-attribute-name" style="box-sizing:
border-box; color: rgb(153, 69, 0); ">language</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'en'</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-tag" style="box-sizing:
border-box; color: rgb(136, 18, 128); "><</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">ows:Exception</span> <span
class="webkit-html-attribute-name" style="box-sizing:
border-box; color: rgb(153, 69, 0); ">exceptionCode</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'InvalidParameterValue'</span>
<span class="webkit-html-attribute-name" style="box-sizing:
border-box; color: rgb(153, 69, 0); ">locator</span>=<span
class="webkit-html-attribute-value" style="box-sizing:
border-box; color: rgb(26, 26, 166); ">'request'</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-tag" style="box-sizing:
border-box; color: rgb(136, 18, 128); "><</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">ows:ExceptionText</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span>XML request isn't valid<span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); "></</span><span class="webkit-html-tag"
style="box-sizing: border-box; color: rgb(136, 18, 128); ">ows:ExceptionText</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "> <span class="webkit-html-tag" style="box-sizing:
border-box; color: rgb(136, 18, 128); "></</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">ows:Exception</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span></div>
<div class="webkit-line-content" style="box-sizing: border-box;
padding-left: 2px; color: rgb(0, 0, 0); font-family: 'dejavu
sans mono', monospace; font-size: 11px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 13px; orphans: 2; text-align: -webkit-auto;
text-indent: 0px; text-transform: none; white-space: pre;
widows: 2; word-spacing: 0px; -webkit-text-size-adjust: none;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); "><span class="webkit-html-tag" style="box-sizing:
border-box; color: rgb(136, 18, 128); "></</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">ows:ExceptionReport</span><span
class="webkit-html-tag" style="box-sizing: border-box; color:
rgb(136, 18, 128); ">></span></div>
</blockquote>
<br class="Apple-interchange-newline">
On the server side, tinyows gives me the following error:<br>
<blockquote>[ERROR] Element
'{<a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>}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.<br>
</blockquote>
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?<br>
<br>
My configuration file is as follows:<br>
<blockquote><tinyows
online_resource=<a class="moz-txt-link-rfc2396E" href="http://127.0.0.1/cgi-bin/tinyows">"http://127.0.0.1/cgi-bin/tinyows"</a><br>
schema_dir="/usr/local/tinyows/schema/"<br>
log="/var/log/tinyows.log"<br>
log_level="7"<br>
check_schema="1"><br>
......<br>
<layer retrievable="1"<br>
writable="1"<br>
ns_uri=<a class="moz-txt-link-rfc2396E" href="http://www.tinyows.org/">"http://www.tinyows.org/"</a><br>
ns_prefix="demo"<br>
name="frida"<br>
title="Frida Parks" /><br>
</tinyows><br>
</blockquote>
Thanks for your help,<br>
Eric<br>
</body>
</html>