Valentina, this looks like the same problem reported here: http://osgeo-org.1560.x6.nabble.com/xlink-ref-not-well-encoded-in-WFS-response-app-schema-td5002307.html
Are you using WFS 2.0.0 or WFS 1.1.0 with outputformat=gml32? The latter is reported to work. Have you tried defining a secondary namespace for xlink? http://docs.geoserver.org/stable/en/user/data/app-schema/supported-gml-versions.html#secondary-namespace-for-gml-3-2-1-required I do not think we found out whether this works. There have been some recent improvements to app-schema support for WFS 2.0.0; it would be good to fix this as well if it is still broken. Kind regards, Ben. On 10/09/14 02:39, Valentina Sagris wrote: > Hi, > have defined xlink in mapping file and in the FT schema > <Namespace> > <prefix>xlink</prefix> > <uri>http://www.w3.org/1999/xlink </uri> > </Namespace> > > and mapped Client Property > <AttributeMapping> > <targetAttribute>om:observedProperty</targetAttribute> > <ClientProperty> > <name>xlink:href</name> > > <value>Concatenate('http://loom-gis.geo.ut.ee/ermas/schemas/sarv/CodeList_ObservablePropertyValue.xml#', > observed_property)</value> > </ClientProperty></AttributeMapping> > > but still in the GetFeature resonse I have > <om:observedProperty > href="http://loom-gis.geo.ut.ee/ermas/schemas/sarv/CodeList_ObservablePropertyValue.xml#sedimentology_and_lithology"/> > instead of xlink:href > can somebody help? > > valentina > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/App-schema-extension-fail-to-map-xlink-namespace-tp5160960.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
