Hi my personal experience is, that you can only use standard ascii columnnames in sld. But you might want to check, that you correctly encoded the columnname in utf8 in you uft8 sld xml.
Personally i solve this problem on the application level: use standard column names in the sld/datastore, but show the user the language specific column description. Greets, steve -- wiki² - Softwareentwicklung Stefan A. Tzeggai, geb. Krüger Straßburger Weg 26 53113 Bonn email [email protected] phone +49 228 24000528 mobile +49 176 40389559 www wikisquare.de twitter http://twitter.com/geopublishing skype alfonx jabber [email protected] reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. ----- Ursprüngliche Mitteilung ----- > Hi, > > I develop a web-mapping application based on openLayers and geoserver. I > have a function that let the user make his own style with defined > layers, but I have a big problem. > > Many layers served by geoserver are views stored in a PostGis database. > These views are made with two or more tables and rename columns with > aliases in the output query. For example the original name is > "etat_avancement" and the output alias is "Etat d'avancement" which is > not a standard name, but more explicit and user-friendly for the end > user. > > It seems that this is not a problem for Geoserver to server this view as > a layer. The columns names and types are well recognized in the > configuration interface and the getFeatureInfo request works as well. > > But I can't do nothing with this field in a sld. If I write in > PropertyName tag "Etat d'avancement" I have an error like this : [...] " > The style specifies an attribute of "Etat d'avancement" and the layer is > mylayer" If I remove the double quote I have a parsing error : "Had > troubles handling filter reprojection... Invalid XPath: 'Etat > d'avancement'. Invalid symbol 't' - expression incorrect. > > Is there a solution to solve it? > > Thanks in advance. > > Jean-Baptiste Raynaud > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
