if ( styleFile == null ){
throw new IOException( "No such file: " + info.getFilename());
}
SLDParser stylereader = new SLDParser(styleFactory, styleFile);
style = stylereader.readXML()[0];
//set the name of the style to be the name of hte style metadata
// remove this when wms works off style info
style.setName( info.getName() );
styleCache.put( info, style );
}