Index: /lang/php/Scraper/library/Diggin/Scraper/Strategy/Xpath.php
===================================================================
--- /lang/php/Scraper/library/Diggin/Scraper/Strategy/Xpath.php (revision 16891)
+++ /lang/php/Scraper/library/Diggin/Scraper/Strategy/Xpath.php (revision 16913)
@@ -76,17 +76,25 @@
     }
     
-    //@todo xmlxpatheval evaluation failed
     public static function extract($values, $process)
-    {        
+    {
+        //↓このハンドリングはxpathの記述自体が間違ってたとき（いらないかな？）
+        set_error_handler(
+            create_function('$errno, $errstr',
+            'if($errno) require_once "Diggin/Scraper/Strategy/Xpath/Exception.php"; 
+            	throw new Diggin_Scraper_Strategy_Xpath_Exception($errstr, $errno);'
+            )
+        );
         $results = (array) $values->xpath($process->expression);
-        
-        if (count($results) === 0) {
-            require_once 'Diggin/Scraper/Strategy/Exception.php';
-            throw new Diggin_Scraper_Strategy_Exception("couldn't find By Xpath, Process : $process");            
-        }
-        if ((isset($results[0])) && ($results[0] === false)) {
-            require_once 'Diggin/Scraper/Strategy/Exception.php';
-            throw new Diggin_Scraper_Strategy_Exception("Couldn't find By Xpath, Process : $process");
-        }
+        restore_error_handler();
+
+        //        if (count($results) === 0) {
+        //        //@todo notice error
+        //            require_once 'Diggin/Scraper/Strategy/Exception.php';
+        //            throw new Diggin_Scraper_Strategy_Exception("couldn't find By Xpath, Process : $process");            
+        //        }
+//        if ((isset($results[0])) && ($results[0] === false)) {//これはxpath記述自体が間違ってたとき
+//            require_once 'Diggin/Scraper/Strategy/Exception.php';
+//            throw new Diggin_Scraper_Strategy_Exception("Couldn't find By Xpath, Process : $process");
+//        }
         
         return $results;
@@ -108,5 +116,4 @@
             $strings = array();
             foreach ($values as $value) {
-                //@todo strict 
                 $value = strip_tags((string) str_replace('&amp;', '&', $value->asXML()));
                 $value = str_replace(array(chr(10), chr(13)), '', $value);
