// org.w3c.dom.stylesheets.StyleSheet ss = ssl.item(i);
if (styleSheets != null) {
for (int i = 0, numStyles = styleSheets.size(); i < numStyles; i++) {
StyleSheet ss = (StyleSheet) styleSheets.get(i);
try {
query.apply((ICSSNode) ss);
} catch (ClassCastException ex) {
Logger log = PDPlugin.getLogger(CSSStyleDeclaration.class);
log.error("Error.CSSUtil.0", ex); //$NON-NLS-1$
// FIXME: should this continue to be processed?
}