I have added a new SLD style for my nyc_roads layer but no map is displayed with the new style. I get the error "The requested Style can not be used with this layer. The style specifies an attribute of NAME and the layer is: wsNYCRoads:nyc_roads".
The named layer has already been named as suggested but still the same error appears. Why?
<Name> wsNYCRoads:nyc_roads </Name>