 +          break;
 +        } elseif (is_file($path)) {
 +
-+          // Load via bootstrap class loader
-+          $bytes= __xp_load_archive_bytes($path, strtr($str, '.', '/').'.class.php');
++          // To to load via bootstrap class loader, if the file cannot provide the class-to-load
++          // skip to the next include_path part
++          if (FALSE === ($bytes= __xp_load_archive_bytes($path, strtr($str, '.', '/').'.class.php'))) {
++            continue;
++          }
++          
 +          if (FALSE === eval('?>'.$bytes)) {
 +            xp::error('Bootstrap class loading failure at '.$str.' (file= '.$path.')');
 +          }

       return $cl;
     }
     
Index: io/cca/ArchiveClassLoader.class.php
===================================================================
--- io/cca/ArchiveClassLoader.class.php	(revision 8050)

+        
+        continue;
+      }
+
+
+      foreach ($include as $path => $loader) {
+
