Hi,

Same here! Tested it on geoserver 2.4.0, 2.5.2 and 2.6.0, no validation errors.

On line 9 of the sld of the line style I have the start-tag <NamedLayer>. 
Element Abstract is on line 14 and element FeatureTypeStyle is on line 17. So I 
would guess you are using a (very) old sld. The StyledLayerDescriptor start-tag 
already takes 7 lines in the recent slds of style "line".

Kind regards,
Roel De Nijs
Senior Java Developer

Van: Rahkonen Jukka (Tike) [mailto:jukka.rahko...@mmmtike.fi]
Verzonden: woensdag 8 oktober 2014 12:17
Aan: 'Jones, Spencer R'; 'geoserver-users@lists.sourceforge.net'
Onderwerp: Re: [Geoserver-users] SLD validation curio

Hi,

I tested with Geoserver 2.6 by opening the line.sld with Styles editor (copy 
from existing style). It does validate for me.
What Geoserver version you have? Maybe the error with Abstract has corrected 
later. I may also have a different "line.sld", it has on line 14
<Abstract>A sample style that draws a line</Abstract>

-Jukka Rahkonen-


Jones, Spencer R wrote:

Hi All

I'm in the process of getting our GeoServer up and running here, and I've hit 
what is either a snag or a curio. If I edit one of the existing pre-supplied 
styles (let's say 'line'), and I don't change a single thing, and then go to 
Validate, I get the following unexpected error:


  *   line 9: cvc-complex-type.2.4.a: Invalid content was found starting with 
element 'sld:Abstract'. One of 
'{"http://www.opengis.net/sld":FeatureTypeStyle}' is expected.
To reiterate, these are the pre-supplied SLDs and they haven't been edited at 
all. Anyone have any idea what might be going on?

Spencer Jones
GIS Tech Admin
South West Water

________________________________________________________

The information and documents sent in this email from South West Water Ltd are 
sent in confidence and are intended only for the use of the individual or 
entity named above. Please note that the contents may contain privileged, 
personal and/or confidential information and are not to be disclosed to any 
person other than the addressee. If you are not the intended recipient you are 
notified that any use, dissemination, distribution or copying of the 
information and documents contained in this email is strictly prohibited. If 
you have received this email in error, please return it and any copies 
immediately, without reading any attachments, and confirm that immediately upon 
returning the email, you will delete all copies on your system and network.

South West Water Limited - Registered in England No: 2366665

Registered Office:

Peninsula House

Rydon Lane

Exeter

Devon EX2 7HR

________________________________________________________



________________________________

Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | 
Twitter<https://twitter.com/aquafinnv> | 
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> | 
LinkedIN<http://www.linkedin.com/company/aquafin/products>

Disclaimer: zie www.aquafin.be<http://www.aquafin.be>   P Denk aan het milieu. 
Druk deze mail niet onnodig af.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to