Hi Rasmus,
I tried both of your styles and they both worked for me. The first one i had to put the ogc:Filter element after the MaxScaleDenominator element in the first rule however.
So I am pretty sure that the validator cannot find the the sld schema. I will need a bit more information.
How are you running geosever? Did you use the installer? It could be that I cannot reproduce the problem because I am running from by devel environment. If that is the case it might be a problem with the installer.
-Justin
p.s Dont worry, we wont leave you hanging for the holidays
Rasmus Lindberg wrote:
Thanks, but it doesn't matter. I run RC7 so I think that
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="schemas/sld/StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">should work, but it doesn't.
I would be very happy if you can help me so that I can work over the
holiday./ Rasmus Lindberg
-----Ursprungligt meddelande-----
Från: Justin Deoliveira [mailto:jdeolive@anonymised.com] Skickat: den 22 december 2005 18:21
Till: Rasmus Lindberg
Kopia: geoserver-devel@lists.sourceforge.net
Ämne: Re: SV: [Geoserver-devel] SLD Validation??Hi Rasmus,
I just found a faq entry for this one.
http://docs.codehaus.org/pages/viewpage.action?pageId=40403
Hopefully that fixes your problem.
-Justin
Rasmus Lindberg wrote:
I can include my SLD-file, but I don't think it matter. I just tried one
more time to Config->Data->Style->New. I set StyleID to "test" and then
tried to upload the file d:\www\SLD\default_line.sld which I copied frommy
GeoServer-folder and I got the same problem. See
http://raz.dns2go.com/sld/styleEditorSubmit.htm
http://raz.dns2go.com/sld/default_line.sldIf you want to see my SLD file that I tried before it is here
http://raz.dns2go.com/sld/storaav.sld/ Rasmus Lindberg
-----Ursprungligt meddelande-----
Från: geoserver-devel-admin@lists.sourceforge.net
[mailto:geoserver-devel-admin@lists.sourceforge.net] För Justin Deoliveira
Skickat: den 22 december 2005 17:33
Till: Rasmus Lindberg
Kopia: geoserver-devel@lists.sourceforge.net
Ämne: Re: [Geoserver-devel] SLD Validation??Hi Rasmus,
Can you include the sld document. Thanks.
-Justin
Rasmus Lindberg wrote:
Sorry for my really bad formulated question.
I start over and try to explain me a bit more.I have installed RC7 and it seam to work. I have manged to store a
shp-file
and it works to wiew it in uDig. Now I have tried to upload the SLD-file
that I have made for this shp-file. But I get this messcvc-elt.1: Cannot find the declaration of element 'StyledLayerDescriptor'.
When it is validated. I have tried to copy-rename-upload one of the
SLD-files that I found in the conf\styles folder but I get the same mess.What was done with SLD Validation now for RC7? I supposed/hoped that SLD
validation sholud be no problem but I was probobly wrong./ Rasmus Lindberg
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through logfiles
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org