Ben, thanks for your answer.
I was able to resolve the conflict.
Check the code step by step, and found a syntax error in a mention of a
namespace in one file.
It's amazing, but when you are tired, look but do not see!
I am very grateful that you have always taken the time to answer.
Best Regards
Pedro
2014-07-15 0:46 GMT-03:00 Ben Caradoc-Davies <[email protected]>:
> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
> --
> Ben Caradoc-Davies <[email protected]>
> Software Engineer
> CSIRO Mineral Resources Flagship
> Australian Resources Research Centre
>
--
Pedro A. Arriondo
*Ingeniero en Sistemas de Información*
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users