Hi all,
I'm trying to get the LegendURL for a Style from the Capabilities document of a 2.2 Geoserver, but it just returns null. Other parts of the Capabilities as well as the Style (eg. name/title/abstract) parse OK.

I've uploaded the caps file and a  testcase modified from the source code (org.geotools.data.wms.xml.test.WMSSchemaTest). into my github clone at:
https://github.com/mprins/geotools/commit/12d0d82ca165978118ab9dd4d703eb2076141d24
Running  mvn -Dtest=CBSWMSSchemaTest test just has the last test fail, all the others pass. Any pointers on debugging this (or a fix) would be most welcome.

This has a reference to: https://jira.codehaus.org/browse/GEOS-5472

thanx, Mark

BTW this is on JDK 1.7.0_09 as well as 1.6.0_37

--
Disclaimer;
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.