final IStructuredDocument structuredDoc =
model.getStructuredDocument();
final IStructuredDocumentRegion[] regions =
structuredDoc.getStructuredDocumentRegions();
validateRegions(regions, jsfValidationContext,
new ContainmentValidatingStrategy(jsfValidationContext));
}
catch (final CoreException e)
{
JSFCorePlugin.log("Error validating JSF", e); //$NON-NLS-1$
}