[Yanel-commits] rev 44042 - public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search

michi at wyona.com michi at wyona.com
Thu Aug 6 22:36:38 CEST 2009


Author: michi
Date: 2009-08-06 22:36:37 +0200 (Thu, 06 Aug 2009)
New Revision: 44042

Modified:
   public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/TitleContentHandler.java
Log:
use xhtml namespace again

Modified: public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/TitleContentHandler.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/TitleContentHandler.java	2009-08-06 20:35:09 UTC (rev 44041)
+++ public/yanel/trunk/src/contributions/resources/search/src/java/org/wyona/yanel/impl/resources/search/TitleContentHandler.java	2009-08-06 20:36:37 UTC (rev 44042)
@@ -30,8 +30,7 @@
     /**
      * The XPath matcher used to select the XHTML title contents.
      */
-    //private static final Matcher MATCHER = PARSER.parse("/xhtml:html/xhtml:head/xhtml:title/descendant:node()");
-    private static final Matcher MATCHER = PARSER.parse("/html/head/title/descendant:node()");
+    private static final Matcher MATCHER = PARSER.parse("/xhtml:html/xhtml:head/xhtml:title/descendant:node()");
 
     /**
      * Creates a content handler that passes all XHTML title events to the



More information about the Yanel-commits mailing list