CssParameter is the element used by the SLD 1.0 spec to supply certain styling parameters. In the Symbology Encoding spec (which is basically SLD 1.1.0) this element name was changed to SvgParameter.
(<sarc>Thanks very much, OGC. I expect that with the rise in popularity of CSS, this will be changed back in the next version</sarc>) GeoServer mostly implements SLD 1.0, with a smattering of SE 1.1.0. I'm puzzled by your comment that <CssParameter> fails validation - when running a trunk version of GeoServer I see the opposite behaviour (CssParameter validates, but SvgParameter doesn't). On Wed, Jan 9, 2013 at 9:35 AM, Jonathan Moules < jonathanmou...@warwickshire.gov.uk> wrote: > Hi List, > Going through the SVG stuff, I came across this page: > > http://docs.geoserver.org/stable/en/user/styling/sld-reference/textsymbolizer.html?highlight=label#example > > which makes it clear that font's require a "<CssParameter>" for > determining font and stuff. > > However, this fails in the validator which says it wants SVGParameter, > which is also what the specification says. > > Is there a reason the documentation says "cssparameter"? It does appear to > work anyway, despite failing the validator and not being in the spec. > > Jonathan > > > This transmission is intended for the named addressee(s) only and may > contain sensitive or protectively marked material up to RESTRICTED and > should be handled accordingly. Unless you are the named addressee (or > authorised to receive it for the addressee) you may not copy or use it, or > disclose it to anyone else. If you have received this transmission in error > please notify the sender immediately. All email traffic sent to or from us, > including without limitation all GCSX traffic, may be subject to recording > and/or monitoring in accordance with relevant legislation. > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- Martin Davis OpenGeo - http://opengeo.org Expert service straight from the developers.
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users