I've found that xlink:href is well encoded if you use WFS 1.1.0 and not if
you use 2.0.0 (encode href instead).
Still wondering why


On Mon, Sep 17, 2012 at 11:46 AM, Florent Gravin <
florent.gra...@camptocamp.com> wrote:

> Hi,
>
> I've defined a complex feature mapping file, with some ReferencedType
> inside.
>
> Mapping file :
>
> <Namespace>
>      <prefix>xlink</prefix>
>      <uri>http://www.w3.org/1999/xlink</uri>
> </Namespace>
>
>
> <ClientProperty>
>      <name>xlink:href</name>
>      <value>if_then_else(isNull(boundary), Expression.NIL,
> strConcat('urn:x-inspire:specification:gmlas:AdministrativeUnit:3.0:',
> boundary))</value>
> </ClientProperty>
>
> This gives as response
> <au:boundary href="
> urn:x-inspire:specification:gmlas:AdministrativeUnit:3.0:8269"/>
>
> The problem is that href is encoded but not xlink:href !
> And in the top element of the xml response, the namespace is not declared
> ! (should have xmlns:xlink="http://www.w3.org/1999/xlink";)
>
> I'm using master branch of geotools and geoserver...
>
> Do you know where to look in order to make xlink encoding working properly
> ?
>
> Ty
>
> --
> Florent Gravin
> CampToCamp - Chambéry
> 0479444492
>
>


-- 
Florent Gravin
CampToCamp - Chambéry
0479444492
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to