style = s.getStyle();
} catch (IOException e) {
LOG.log(Level.FINE,"Unable to access style "+s.getName()+":"+e,e);
}
if( style != null ){
style.accept(new StyleAdaptor() {
public Object visit(OnLineResource resource, Object data) {
try {
URI uri = resource.getLinkage();
if (uri != null) {
String path = uri.toString();