Default style does not validate
-------------------------------
Key: GEOS-3034
URL: http://jira.codehaus.org/browse/GEOS-3034
Project: GeoServer
Issue Type: Bug
Environment: Ubuntu Jaunty
Reporter: Tim Coulter
Assignee: Andrea Aime
The default style provided by the "Add a new style" function does not validate.
Steps to reproduce:
1) Install and run a fresh version of Geoserver.
2) Click the Style link from the main navigation.
3) Click the "Add a new style" link above the table of styles. You should be shown a page with a default style.
4) Click the "Validate" button at the bottom of the page. Notice that, after a refresh, you are given the error below.
Discussion:
David Winslow suggests this is a lot like the "New Class" method in Eclipse: If it provides us with a class, then that class should compile. Similarly, our new style should validate. Thoughts?
Error:
* org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'Rule' is not complete. One of '{"http://www.opengis.net/sld":Abstract, "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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira