Shaw,
(1) I don't know if this is causing your initial problems, but your XSD
element should be in the gml:_Feature substitution group, otherwise it
might not be valid to include it in a wfs:FeatureCollection (a WFS
response).
<xs:element name="Locality" type="sidelab:LocalityType"
substitutionGroup="gml:_Feature" />
(2) Your featuretype.xml has your type names in lowercase. Type names
here should match the app-schema complex feature type name ("Locality").
(3) Qualify your xpath elements. Change:
<targetAttribute>Locality</targetAttribute>
to
<targetAttribute>sidelab:Locality</targetAttribute>
Fix the_geom as well.
(4) Check that your namespace.xml for your workspace is correct.
I'll have a look at your stack trace too.
Kind regards,
Ben.
On 03/03/11 18:12, Shaw Innes wrote:
> Hi Ben,
> Thanks for the quick response. I realised that might make some difference
> so I changed my database schema to be all lower case - which brought me to
> some new errors - I've attached my config files which were in my "complex"
> data store. I've been trying to use the web GUI to configure these but it
> seems that maybe manually is safer.
>
> When I have this configuration in place my mapserver will no longer
> startup. I don't see anything in the logs though so I'm going to look into
> increasing the logging level.
>
> I don't suppose you could point me in the direction of a really simple
> example using PostGIS as a datasource to create a "simple" app schema? Once
> I can get a basic one working I'm sure I can extend it easily enough
>
> Thanks again
>
> Shaw
>
--
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users