|
From: Marcus S. <ma...@bg...> - 2013-02-13 16:50:27
|
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" > xmlns:snm="http://localhost/snm" xmlns:gml="http://www.opengis.net/gml" > elementFormDefault="qualified" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > I expect you need to import the GML Schema <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/> (Assuming your are using 3.1.1) Marcus |