The patch is using the hardcoded index "2" for the location of the legend URLs. I think it should be the index "i" instead. In my case, using the index "2", the legend URLs come up as the title of the styles... if (sameName(elems[3], value[i])) { - //TODO Implement LegendURL + legendURLS.add((String)value[2].getValue()); } That should be if (sameName(elems[3], value[i])) { - //TODO Implement LegendURL + legendURLS.add((String)value[i].getValue()); } -- View this message in context: http://osgeo-org.1560.n6.nabble.com/svn-r38810-in-branches-2-7-x-modules-extension-wms-src-main-java-org-geotools-data-wms-xml-test-javaa-tp4981882p5002814.html Sent from the geotools-commits mailing list archive at Nabble.com. |