Pedro,
this schema document is a little hard to follow as I do not know where it is published so I cannot know if the relative imports exist. Tou indicate that you are working with http://schemas.cubewerx.com/schemas/gazetteer/1.0.0/gmlsf1/full/iso19112.xsd but I do not see an include for this schema.
- Are you able to trace from your schema to a schema that defines the element and its type?
- Remember that relative imports are relative to the containing schema document location; if you intend to import from another host, use absolute imports.
- Is your schema valid? (XmlSpy, Oxygen, or Eclipse JEE should tell you.)
Kind regards,
Ben.
On 13/07/14 01:23, Pedro Arriondo wrote:
Dear friends,
I'm trying to implement the ISO19112 schema.
I am working with
http://schemas.cubewerx.com/schemas/gazetteer/1.0.0/gmlsf1/full/iso19112.xsd.
I had to "complete" to try to make it work.
Now I get this error:
"WARN [complex.config] - Error creating app-schema data store for
'iso19112:SI_LocationInstance', caused by: No top level element found in
schemas: {http://www.isotc211.org/iso19112\}SI_LocationInstance"
This is my scheme adapted:
"<schema
xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified"
targetNamespace="http://www.isotc211.org/19112"
xmlns:iso19112="http://www.isotc211.org/19112"
xmlns:gmdsf1="http://www.isotc211.org/2005/gmdsf1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gmlsf="http://www.opengis.net/gmlsf"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
version="19112_2003">
<annotation>
<appinfo
source="../../../../gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsfLevels.xsd">
<gmlsf:ComplianceLevel>1</gmlsf:ComplianceLevel>
<gmlsf:GMLProfileSchema>../../../../gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd</gmlsf:GMLProfileSchema>
</appinfo>
</annotation>
<import namespace="http://www.opengis.net/gml"
schemaLocation="../../../../gml/3.1.1/base/gml.xsd"/>
<import namespace="http://www.opengis.net/gmlsf"
schemaLocation="../../../../gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsfLevels.xsd"/>
<import namespace="http://www.isotc211.org/2005/gmdsf1"
schemaLocation="./gmd.xsd"/>
<import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
"
Any help?
Thanks!
Pedro
--
Pedro A. Arriondo
/*Ingeniero en Sistemas de Información*/
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Mineral Resources Flagship
Australian Resources Research Centre