On Mon, Nov 1, 2010 at 1:26 PM, Travis Kirstine
<[email protected]> wrote:
> I am trying to us the ElseFilter but can seem to find the correct
> syntax.  My understanding is that ElseFilter can be used to style all
> remaining values not filtered with other rules, is this the correct
> usage?
>
> The error and syntax is below.  I am using GeoServer 2.02
>
>
> Error:
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content
> was found starting with element 'ogc:ElseFilter'. One of
> '{"http://www.opengis.net/sld":LegendGraphic,
> "http://www.opengis.net/ogc":Filter,
> "http://www.opengis.net/sld":ElseFilter,
> "http://www.opengis.net/sld":MinScaleDenominator,
> "http://www.opengis.net/sld":MaxScaleDenominator,
> "http://www.opengis.net/sld":Symbolizer}' is expected.
>
>

The error message actually includes the answer (though it is obscure)
- ElseFilter is in the SLD namespace not the OGC namespace. This is to
do with which spec actually defines it.

Ian

------------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to