schema.xsd and describefeaturetype output is different

View: New views
3 Messages — Rating Filter:   Alert me  

schema.xsd and describefeaturetype output is different

by Kasper Thunø (KAT) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hey,

 

For all my featuretypes I have a generated schema.xml/schema.xsd in the featuretype directory but when calling “describefeaturetype” I get a different output than what is specified in the xsd/xml files.

 

DFT output:

 

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:kms="http://www.kms.dk" elementFormDefault="qualified" targetNamespace="http://www.kms.dk">

  <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://test-wfs.arealinfo.dk:80/schemas/gml/3.1.1/base/gml.xsd"/>

  <xsd:complexType name="BESIGTIGELSE_LNType">

    <xsd:complexContent>

      <xsd:extension base="gml:AbstractFeatureType">

        <xsd:sequence>

          <xsd:element maxOccurs="1" minOccurs="0" name="OBJECTID" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="DB_IDENT" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="GYLDIG_FRA" nillable="true" type="xsd:date"/>

 

          <xsd:element maxOccurs="1" minOccurs="0" name="GYLDIG_TIL" nillable="true" type="xsd:date"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="ADM_KODE" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="ADM_TEKST" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="DATAREF" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="OBJEKTKODE" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="OBJEKTTKST" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="SIGNATUR" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="STATUS" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="STATUSKODE" nillable="true" type="xsd:decimal"/>

 

          <xsd:element maxOccurs="1" minOccurs="0" name="OFFENTLIG" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="BEMERKNING" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="TEMAKODE1" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="TEMATEKST1" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="TEMAKODE2" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="TEMATEKST2" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="UUID" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="BRUGER_ID" nillable="true" type="xsd:string"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="GEOMETRI" nillable="true" type="gml:GeometryPropertyType"/>

 

        </xsd:sequence>

      </xsd:extension>

    </xsd:complexContent>

  </xsd:complexType>

  <xsd:element name="BESIGTIGELSE_LN" substitutionGroup="gml:_Feature" type="kms:BESIGTIGELSE_LNType"/>

</xsd:schema>

 

Content in schema.xsd:

 

<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:gml='http://www.opengis.net/gml'><xs:complexType name = "BESIGTIGELSE_LN">

  <xs:complexContent>

    <xs:extension base = "gml:AbstractFeatureType">

      <xs:sequence>

        <xs:element type="xs:integer" name="OBJECTID" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="DB_IDENT" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:dateTime" name="GYLDIG_FRA" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:dateTime" name="GYLDIG_TIL" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="ADM_KODE" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="ADM_TEKST" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="DATAREF" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="OBJEKTKODE" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="OBJEKTTKST" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="SIGNATUR" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="STATUS" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="STATUSKODE" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="OFFENTLIG" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="BEMERKNING" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="TEMAKODE1" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="TEMATEKST1" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:integer" name="TEMAKODE2" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="TEMATEKST2" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="UUID" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="xs:string" name="BRUGER_ID" nillable="true" minOccurs="0" maxOccurs="1"/>

        <xs:element type="gml:LineStringPropertyType" name="GEOMETRI" nillable="true" minOccurs="1" maxOccurs="1"/>

      </xs:sequence>

    </xs:extension>

  </xs:complexContent>

</xs:complexType>

</xs:schema>

 

I’m currently on 1.7.7.

 

What to do to make Geoserver respect the schema?

 

Regards Kasper.

 

 

 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: schema.xsd and describefeaturetype output isdifferent

by Rahkonen Jukka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

You can only control some things through editing schema.xsd:

- Attributes can be hidden
- Nillable value can be changed
- Geometry type can be set to a certain type

There may be some others.  For sure change from decimal to integer by editing schema does not work. You can try to make a view in a database and use that as feature type. It will not work with Oracle because it lacks real integer datatype.  Im probably works with PostGIS but I am not sure. Date to dateTime cannot work either, it must come as dateTime already from the database.

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: Kasper Thunø (KAT) [mailto:kasper.thuno@...]
Lähetetty: to 5.11.2009 22:22
Vastaanottaja: geoserver-users@...
Aihe: [Geoserver-users] schema.xsd and describefeaturetype output isdifferent
 
Hey,

For all my featuretypes I have a generated schema.xml/schema.xsd in the featuretype directory but when calling "describefeaturetype" I get a different output than what is specified in the xsd/xml files.

DFT output:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:kms="http://www.kms.dk" elementFormDefault="qualified" targetNamespace="http://www.kms.dk">
  <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://test-wfs.arealinfo.dk:80/schemas/gml/3.1.1/base/gml.xsd"/>
  <xsd:complexType name="BESIGTIGELSE_LNType">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="OBJECTID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DB_IDENT" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="GYLDIG_FRA" nillable="true" type="xsd:date"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="GYLDIG_TIL" nillable="true" type="xsd:date"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="ADM_KODE" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="ADM_TEKST" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DATAREF" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="OBJEKTKODE" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="OBJEKTTKST" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="SIGNATUR" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="STATUS" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="STATUSKODE" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="OFFENTLIG" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="BEMERKNING" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMAKODE1" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMATEKST1" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMAKODE2" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMATEKST2" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="UUID" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="BRUGER_ID" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="GEOMETRI" nillable="true" type="gml:GeometryPropertyType"/>

        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="BESIGTIGELSE_LN" substitutionGroup="gml:_Feature" type="kms:BESIGTIGELSE_LNType"/>
</xsd:schema>

Content in schema.xsd:

<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:gml='http://www.opengis.net/gml'><xs:complexType name = "BESIGTIGELSE_LN">
  <xs:complexContent>
    <xs:extension base = "gml:AbstractFeatureType">
      <xs:sequence>
        <xs:element type="xs:integer" name="OBJECTID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="DB_IDENT" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:dateTime" name="GYLDIG_FRA" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:dateTime" name="GYLDIG_TIL" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="ADM_KODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="ADM_TEKST" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="DATAREF" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="OBJEKTKODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="OBJEKTTKST" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="SIGNATUR" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="STATUS" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="STATUSKODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="OFFENTLIG" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="BEMERKNING" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="TEMAKODE1" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="TEMATEKST1" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="TEMAKODE2" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="TEMATEKST2" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="UUID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="BRUGER_ID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="gml:LineStringPropertyType" name="GEOMETRI" nillable="true" minOccurs="1" maxOccurs="1"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
</xs:schema>

I'm currently on 1.7.7.

What to do to make Geoserver respect the schema?

Regards Kasper.





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: schema.xsd and describefeaturetype output isdifferent

by Kasper Thunø (KAT) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Jukka and thanks for replying. But I just figured out what the problem was, which is related to a faulty schema notation.

Here is what it should have been:

<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:gml='http://www.opengis.net/gml' elementFormDefault="qualified">
<xsd:complexType name = "BESIGTIGELSE_LN">
  <xsd:complexContent>
    <xsd:extension base = "gml:AbstractFeatureType">
      <xsd:sequence>
        <xsd:element type="xsd:integer" name="OBJECTID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="DB_IDENT" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:dateTime" name="GYLDIG_FRA" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:dateTime" name="GYLDIG_TIL" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="ADM_KODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="ADM_TEKST" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="DATAREF" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="OBJEKTKODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="OBJEKTTKST" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="SIGNATUR" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="STATUS" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="STATUSKODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="OFFENTLIG" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="BEMERKNING" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="TEMAKODE1" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="TEMATEKST1" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:integer" name="TEMAKODE2" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="TEMATEKST2" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="UUID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="xsd:string" name="BRUGER_ID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xsd:element type="gml:LineStringPropertyType" name="GEOMETRI" nillable="true" minOccurs="1" maxOccurs="1"/>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>
</xsd:schema>

And this works just perfectly.

Regards Kasper

-----Original Message-----
From: Rahkonen Jukka [mailto:Jukka.Rahkonen@...]
Sent: 5. november 2009 21:59
To: Kasper Thunø (KAT); geoserver-users@...
Subject: Re: [Geoserver-users] schema.xsd and describefeaturetype output isdifferent

Hi,

You can only control some things through editing schema.xsd:

- Attributes can be hidden
- Nillable value can be changed
- Geometry type can be set to a certain type

There may be some others.  For sure change from decimal to integer by editing schema does not work. You can try to make a view in a database and use that as feature type. It will not work with Oracle because it lacks real integer datatype.  Im probably works with PostGIS but I am not sure. Date to dateTime cannot work either, it must come as dateTime already from the database.

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: Kasper Thunø (KAT) [mailto:kasper.thuno@...]
Lähetetty: to 5.11.2009 22:22
Vastaanottaja: geoserver-users@...
Aihe: [Geoserver-users] schema.xsd and describefeaturetype output isdifferent
 
Hey,

For all my featuretypes I have a generated schema.xml/schema.xsd in the featuretype directory but when calling "describefeaturetype" I get a different output than what is specified in the xsd/xml files.

DFT output:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:kms="http://www.kms.dk" elementFormDefault="qualified" targetNamespace="http://www.kms.dk">
  <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://test-wfs.arealinfo.dk:80/schemas/gml/3.1.1/base/gml.xsd"/>
  <xsd:complexType name="BESIGTIGELSE_LNType">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="OBJECTID" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DB_IDENT" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="GYLDIG_FRA" nillable="true" type="xsd:date"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="GYLDIG_TIL" nillable="true" type="xsd:date"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="ADM_KODE" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="ADM_TEKST" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="DATAREF" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="OBJEKTKODE" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="OBJEKTTKST" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="SIGNATUR" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="STATUS" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="STATUSKODE" nillable="true" type="xsd:decimal"/>

          <xsd:element maxOccurs="1" minOccurs="0" name="OFFENTLIG" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="BEMERKNING" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMAKODE1" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMATEKST1" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMAKODE2" nillable="true" type="xsd:decimal"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="TEMATEKST2" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="UUID" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="BRUGER_ID" nillable="true" type="xsd:string"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="GEOMETRI" nillable="true" type="gml:GeometryPropertyType"/>

        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="BESIGTIGELSE_LN" substitutionGroup="gml:_Feature" type="kms:BESIGTIGELSE_LNType"/>
</xsd:schema>

Content in schema.xsd:

<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:gml='http://www.opengis.net/gml'><xs:complexType name = "BESIGTIGELSE_LN">
  <xs:complexContent>
    <xs:extension base = "gml:AbstractFeatureType">
      <xs:sequence>
        <xs:element type="xs:integer" name="OBJECTID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="DB_IDENT" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:dateTime" name="GYLDIG_FRA" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:dateTime" name="GYLDIG_TIL" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="ADM_KODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="ADM_TEKST" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="DATAREF" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="OBJEKTKODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="OBJEKTTKST" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="SIGNATUR" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="STATUS" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="STATUSKODE" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="OFFENTLIG" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="BEMERKNING" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="TEMAKODE1" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="TEMATEKST1" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:integer" name="TEMAKODE2" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="TEMATEKST2" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="UUID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="xs:string" name="BRUGER_ID" nillable="true" minOccurs="0" maxOccurs="1"/>
        <xs:element type="gml:LineStringPropertyType" name="GEOMETRI" nillable="true" minOccurs="1" maxOccurs="1"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
</xs:schema>

I'm currently on 1.7.7.

What to do to make Geoserver respect the schema?

Regards Kasper.







------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users