namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: namazu stopped working

2005-11-28 06:18:49
Tadamasa Teranishi wrote:
Tadamasa Teranishi wrote:

Does the error occur by nmzchkw.pl when the index is made only with
this document in mknmz?

The index seems not to be broken in the environment in hand.


It reproduced it with C and en_GB.ISO-8859-15. 

--- /namazu-2.0.14/filter/html.pl   2004-03-21 00:48:30.000000000 +0900
+++ html.pl     2005-11-28 20:18:41.000000000 +0900
@@ -314,6 +314,8 @@ sub remove_html_elements ($) {
 # Decode a numberd entity. Exclude an invalid number.
 sub decode_numbered_entity ($) {
     my ($num) = @_;
+    return ""
+       if $num >= 256;
     return ""
        if $num >= 0 && $num <= 31 || $num >= 127 && $num <= 159 ;
     return ""

thanks, this seems to have fixed it!!

(at least i have rebuilt the index for the entire mailing-list and it 
works for now!)

mfg.asdr.
IOhannes
_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>