[Geoserver-devel] [jira] (GEOS-5084) Mark/reset in WMS Capabilities document generation

David Winslow created GEOS-5084:
-----------------------------------

             Summary: Mark/reset in WMS Capabilities document generation
                 Key: GEOS-5084
                 URL: https://jira.codehaus.org/browse/GEOS-5084
             Project: GeoServer
          Issue Type: Improvement
            Reporter: David Winslow
            Assignee: David Winslow
             Fix For: 2.1.x

The GeoServer WMS capabilities response does not always generate valid XML - streaming output sometimes means that we have already sent the start of a capabilities document to a client before we encounter a misconfigured or unavailable layer, at which point we generate an error message, but it's invalid XML at that point. We have a buffer strategy that avoids committing the response until the entire message is generated, but this is slow (you have to generate the entire document before you can start sending it.)

The improvement to be added here is to add a new output strategy which buffers only the layer which is currently being processed - and simply hides layers that are not properly configured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira