[Geoserver-users] Problems in App-Schema plugin

Hi,

I'm using the app-schema plugin for realizing a complex feature mapping. I
adapted the tutorial for the app-schema and want my data to be loaded from a
postgis database running on the same machine as the geoserver.

While geoserver is starting, Geoserver shows me an error:

My configuration is the following one:

folderpath inside workspaces-folder in geoserver's data_dir
snm
-namespace.xml
-workspace.xml
-snm_SpellingOfName
--snm_SpellingOfName
---featuretype.xml
--AppSchemaDataAccess.xsd
--datastore.xml
--snm_SpellingOfName.xml

The content of namespace.xml is:

The content of workspace.xml is:

The content of snm/snm_SpellingOfName/snm_SpellingOfName/featuretype.xml is:

The content of snm_SpellingOfName.xml is:

Instead of "XXXX", I have the correct value but for safety motives I've
preferred not putting them.

The file SpellingOfName.xsd is placed into the app-schema-cache folder of
data_dir (app-schema-cache/localhost/snm/SpellingOfName.xsd).

The content of this file is:

I know the problem is the SpellingOfName.xsd file but I don't know the
solution. Can somebody help me?

Thank you

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Problems-in-App-Schema-plugin-tp5032014.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Leticia Riestra Ainsua <lriestra <at> lbd.org.es> writes:

While geoserver is starting, Geoserver shows me an error:
Caused by: java.lang.RuntimeException: Unsupported GML version for schema at

http://localhost/snm/SpellingOfName.xsd

The file SpellingOfName.xsd is placed into the app-schema-cache folder of
data_dir (app-schema-cache/localhost/snm/SpellingOfName.xsd).

The content of this file is:

I know the problem is the SpellingOfName.xsd file but I don't know the
solution. Can somebody help me?
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema targetNamespace="http://localhost/snm&quot;
xmlns:snm="http://localhost/snm&quot; xmlns:gml="http://www.opengis.net/gml&quot;
elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema&quot; >

I expect you need to import the GML Schema

<import namespace="http://www.opengis.net/gml&quot;
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd&quot;/&gt;

(Assuming your are using 3.1.1)

Marcus