Should element-FormDefault be elementFormDefault? And should substitution-Group be substitutionGroup? Please resend as an attachment to ensure it is not being corrupted by email reformatting.
Your schema element has no xmlns="http://www.w3.org/2001/XMLSchema" which I thought was required to define your root element namespace. I'm not sure if this will cause your problems, but other schemas I use have it. Have you tried loading your schema in a validating editor. Eclipse (uses xerces) goes crazy. Your schemaUri element looks good. On 13/10/11 15:42, TRD wrote: > This is the schema file called dog_hk.xsd: > > <?xml version="1.0" encoding="UTF-8"?> > <schema targetNamespace="http://www.lverma.nrw.de/namespaces/dog" > xmlns:dog="http://www.lverma.nrw.de/namespaces/dog" > xmlns:gml="http://www.opengis.net/gml" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:iso19112="http://www.opengis.net/iso19112" > xmlns:app="http://www.deegree.org/app" > xmlns:wfs="http://www.deegree.org/wfs" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:deegreewfs="http://www.deegree.org/wfs" > element-FormDefault="qualified" attributeFormDefault="unqualified"> > <annotation> > <documentation>Dieses Schema baut auf dem DOG-Profil für > Hauskoordinaten > Deutschland in der Version 1.0.1 auf.</documentation> > </annotation> > <import namespace="http://www.opengis.net/iso19112" > schemaLocation="http://frameworkwfs.usgs.gov/framework/schemas/gazetteer/1.0.0/gmlsf1/iso19112.xsd" > /> > > <element name="Hauskoordinaten" type="dog:HauskoordinatenType" > substitution-Group="iso19112:SI_LocationInstance" /> > > <complexType name="HauskoordinatenType"> > <complexContent> > <extension base="iso19112:SI_LocationInstanceType"> > <sequence> > <element name="qualitaet" > type="xsd:string" minOccurs="0" /> > <element name="datensatznummer" > type="xsd:integer" minOccurs="0" /> > <element name="land" type="xsd:string" > minOccurs="0" /> > <element name="regierungsbezirk" > type="xsd:string" minOccurs="0" /> > <element name="kreis" type="xsd:string" > minOccurs="0" /> > <element name="gemeinde" > type="xsd:string" minOccurs="0" /> > <element name="ortsteil" > type="xsd:string" minOccurs="0" /> > <element name="strasse" > type="xsd:string" minOccurs="0" /> > <element name="hausnummer" > type="xsd:string" minOccurs="0" /> > <element name="hausnummernzusatz" > type="xsd:string" minOccurs="0" /> > <element name="hausschluessel" > type="xsd:string" minOccurs="0" /> > <element name="strassenname" > type="xsd:string" minOccurs="0" /> > <element > name="strassenname_normalisiert" type="xsd:string" > minOccurs="0" /> > <element name="strassenname_soundex" > type="xsd:string" minOccurs="0" /> > <element name="ortsteilname" > type="xsd:string" minOccurs="0" /> > <element > name="ortsteilname_normalisiert" type="xsd:string" > minOccurs="0" /> > <element name="postleitzahl" > type="xsd:string" minOccurs="0" /> > <element name="postOrtsteil" > type="xsd:string" minOccurs="0" /> > <element > name="postOrtsteil_normalisiert" type="xsd:string" > minOccurs="0" /> > <element name="ortsnamePost" > type="xsd:string" minOccurs="0" /> > <element > name="ortsnamePost_normalisiert" type="xsd:string" > minOccurs="0" /> > <element name="zusatzOrtsname" > type="xsd:string" minOccurs="0" /> > <element > name="zusatzOrtsname_normalisiert" type="xsd:string" > minOccurs="0" /> > </sequence> > </extension> > </complexContent> > </complexType> > </schema> > > and this is the reference for the schema file above: > <targetTypes> > <FeatureType> > <schemaUri>http://localhost/dog_hk.xsd</schemaUri> > </FeatureType> > </targetTypes> > > > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/App-Schema-plugin-No-top-level-element-found-in-schemas-tp6884793p6887948.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users