2010/10/25 lv <[email protected]>:
> I downlad the full SLD file named shadow.sld from
> http://docs.geoserver.org/stable/en/user/styling/sld-extensions/geometry-transformations.html?highlight=offset
> Then, I try to upload it to Geoserver. However, when I validate this file, I
> get error
>
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'ogc:Function'. One of
> '{"http://www.opengis.net/ogc":PropertyName}' is expected.
>
> How to modify the SLD file?

Don't modify the file, you just need to ignore the error message, what
you are using is an extension to the standard SLD,
that's why it does not validate against the schemas.

Btw, you're asking questions on the wrong mailing list, this one is to
discuss the GeoServer own code and manage the
project, people using GeoServer should ask questions on the users
mailng list instead

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to