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

IEM - network operating center noc at iem.at
Mon Nov 28 22:19:05 JST 2005


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


More information about the Namazu-users-en mailing list