try
{
for( i = 0; i < blocks.length; i++ )
{
final String name = blocks[ i ].getName();
final BlockDescriptor descriptor = blocks[ i ].getBlockInfo().getBlockDescriptor();
final String type = descriptor.getSchemaType();
if( null != type )
{
m_validator.addSchema( metaData.getName(),
name,
type,
getConfigurationSchemaURL( name,
descriptor.getImplementationKey(),
classLoader )
);
}
}
}