Automatic SLD validation no longer provides the .xsd file for the user
----------------------------------------------------------------------
Key: GEOS-471
URL: http://jira.codehaus.org/browse/GEOS-471
Project: GeoServer
Type: Bug
Components: Configuration
Versions: 1.3.0 RC6
Reporter: Chris Holmes
Assigned to: dblasby
Fix For: 1.3.0 RC7
From randy george:
The style config page doesnât seem to allow me to edit or create a new
style? If I go to welcome/config/data/style/edit simple_roads and
browse to\geoserver\data\styles\simpleRoads.sld I get this message?
(Fully validate is checked)Your .SLD file does not conform to the SLD Schema
More help is available here1: <?xml version="1.0" encoding="UTF-8"?>
2: <StyledLayerDescriptor version="1.0.0"
3: xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
4: xmlns="http://www.opengis.net/sld"
5: xmlns:ogc="http://www.opengis.net/ogc"
6: xmlns:xlink="http://www.w3.org/1999/xlink"
7: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
---------------------------------------------------------^
cvc-elt.1: Cannot find the declaration of element 'StyledLayerDescriptor'.
---------------------------------------------^
TargetNamespace.2: Expecting no namespace, but the schema document has a target namespace of 'http://www.opengis.net/sld’.
---------------------------------------------^
TargetNamespace.2: Expecting no namespace, but the schema document has a target namespace of 'http://www.opengis.net/sld’.
---------------------------------------------^
TargetNamespace.2: Expecting no namespace, but the schema document has a target namespace of 'http://www.opengis.net/sld’.
8: <NamedLayer><Name>Simple Roads</Name>
9: <UserStyle>
I've had this problem as well, I think we used to supply the xsd file for users, and the code confirms an attempt to do this, but it doesn't appear to be working at the moment.
Related to it, I'd like to move the capabilities/ directory to sit alongside data/, so we're not looking up in the geoserver_data_dir for this stuff, since it's not specific to the client installation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira