Hi,
I think that "name" in XML schmema is defined to be of type xsd:NCName and
therefore only nuymbers and ASCII characterers are accepted with some other
restrictions
http://www.schemacentral.com/sc/xsd/t-xsd_NCName.html
Perhaps the Geoserver side bug is in that you can go so far in the
configuration process by using names which will finally be invalid? For your
needs, I suppose that layer Title can contain cyrillic characters and WMS
client could show titles for your users.
-Jukka Rahkonen-
________________________________
Koivusalo, Tuomas wrote:
> Hi all,
> Is there any way to get Geoserver to function with Cyrillic layer names? I
> have PostGIS database with data with Cyrillic content, and I’m trying to
> publish that through Geoserver. I can add datastore and even layer normally,
> and everything seems to work ok. Even GetCapabilities show layer name
> correctly. But when I try to view layer through WMS (either with Layer
> Preview or Desktop GIS software), I get following error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://localhost/geoserver_22/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1" > <ServiceException
code="LayerNotDefined">
Could not find layer
test:Карта_кла��ов_земель_То�нен�кий_р
</ServiceException></ServiceExceptionReport>
Data in database is encoded as UTF-8. Everything works correctly if I write
layer name in latin characters, metadata, featureinfo, layer title, all work
fine in Cyrillic. But Cyrillic layer name makes everything fail. This behavior
is same in both 2.1 and 2.2 Geoservers. Does anybody has any idea is there some
way to work around this, or should this be considered as a bug?
Best regards,
Tuomas Koivusalo
Think green - keep it on the screen. This e-mail and any attachment is for
authorised use by the intended recipient(s) only. It may contain proprietary
material, confidential information and/or be subject to legal privilege. It
should not be copied, disclosed to, retained or used by, any other party. If
you are not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users