Hi, Well there is some code in https://github.com/geoserver/geoserver/blob/master/src/wfs/src/main/java/org/geoserver/wfs/xml/FeatureTypeSchemaBuilder.java#L369 that add the wfs schema and put a jar url for wfs.xsd
We made a hack for this but i think geoserver team should have a look about this issue. Cheers On Wed, Jan 2, 2013 at 11:44 AM, Florent Gravin < [email protected]> wrote: > Hi Ben, thanks for your reply. > > what GeoServer version are you using? Is this an app-schema type? If so, >> what is your schemaUri? > > > I'm using Geoserver master branch, and yes it is an app-schema type. > My schema uri is > http://inspire.ec.europa.eu/schemas/au/3.0/AdministrativeUnits.xsd(urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0). > > Why would you want any sort of WFS import in a WFS DescribeFeatureType >> response? The response should be a XSD document, and unless your feature >> types are defined in terms of WFS (which I would find very strange), there >> should be no use of the WFS schema in the payload information model. > > > I don't really want to have this import, but it is there i haven't > customized any thing to get this i guess. > Maybe i could try to remove it but i don't know how to process. > > thanks for help > > On Mon, Dec 17, 2012 at 4:03 AM, Ben Caradoc-Davies < > [email protected]> wrote: > >> Florent, >> >> >> >> Why would you want any sort of WFS import in a WFS DescribeFeatureType >> response? The response should be a XSD document, and unless your feature >> types are defined in terms of WFS (which I would find very strange), there >> should be no use of the WFS schema in the payload information model. >> >> Clients should never see classpath JAR file references. >> >> Kind regards, >> Ben. >> >> >> On 14/12/12 22:16, Florent Gravin wrote: >> >>> Hi, >>> >>> If i make a DescribeFeatureType request, in the response, i will have >>> hardcoded value for the schemaLocation of wfs 2.0 >>> >>> <xsd:importnamespace="http://**www.opengis.net/wfs/2.0<http://www.opengis.net/wfs/2.0> >>> "**schemaLocation="jar:file:/**home/fgravin/.m2/repository/** >>> org/geotools/xsd/gt-xsd-wfs/9-**SNAPSHOT/gt-xsd-wfs-9-** >>> SNAPSHOT.jar!/org/geotools/**wfs/v2_0/wfs.xsd"/> >>> >>> >>> I would like it to be something like >>> http://schemas.opengis.net/**wfs/2.0/wfs.xsd<http://schemas.opengis.net/wfs/2.0/wfs.xsd> >>> >>> How could i proceed ? >>> >>> >>> Thks >>> >>> -- >>> Florent Gravin >>> Camptocamp - Chambéry >>> 0479444492 >>> >>> >> -- >> Ben Caradoc-Davies <[email protected]> >> Software Engineer >> CSIRO Earth Science and Resource Engineering >> Australian Resources Research Centre >> > > > > -- > Florent Gravin > Camptocamp - Chambéry > 0479444492 > -- Florent Gravin Camptocamp - Chambéry 0479444492
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
