[Geoserver-devel] [jira] Created: (GEOS-2319) Legend generation fails if the size is missing in a ExternalGraphic element

Legend generation fails if the size is missing in a ExternalGraphic element
---------------------------------------------------------------------------

                 Key: GEOS-2319
                 URL: http://jira.codehaus.org/browse/GEOS-2319
             Project: GeoServer
          Issue Type: New Feature
          Components: WMS
    Affects Versions: 1.7.0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.1

A user reported the legend generation failed with the following sld snippet:

{code}
<PolygonSymbolizer>
            <Fill>
              <GraphicFill>
                <Graphic>
                  <ExternalGraphic>
                    <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink&quot; xlink:type="simple" xlink:href="http://localhost:9080/geoserver/bitmaps/geologie_105.png&quot;/&gt;
                    <Format>image/png</Format>
                  </ExternalGraphic>
                  <Size></Size>
                </Graphic>
              </GraphicFill>
            </Fill>
          </PolygonSymbolizer>
{code}

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