[Geoserver-devel] [jira] Created: (GEOS-4147) Errors in SLD validator should show line number

Errors in SLD validator should show line number
-----------------------------------------------

                 Key: GEOS-4147
                 URL: http://jira.codehaus.org/browse/GEOS-4147
             Project: GeoServer
          Issue Type: Improvement
    Affects Versions: 2.0.2
         Environment: Geoserver is running on a linux machine & is being accessed via Firefox web browser.
            Reporter: Daniel Gillespie
            Assignee: Andrea Aime
            Priority: Minor
         Attachments: complex_sld-v2.txt

When I add a new SLD stylesheet to the Style Editor, the XML validate button shows any XML errors at the top of the page. However, it would be helpful to know where in the stylesheet the error is coming from. This is particularly true in large stylesheets, where many tags can be repeated multiple times.

For example, the attached SLD generates 3 separate errors, two on the 'Name' element and one on the 'Title' element. Both of these elements appear multiple times in the stylesheet.

--
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