lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petr Nekvinda (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (LUCENE-2246) While indexing Turkish web pages, "Parse Aborted: Lexical error...." occurs
Date Thu, 18 Feb 2010 14:57:28 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835233#action_12835233
] 

Petr Nekvinda edited comment on LUCENE-2246 at 2/18/10 2:56 PM:
----------------------------------------------------------------

Try add "JAVA_UNICODE_ESCAPE=true;"  (without quotes) into options in HTMLParser.jj and regenrate
lexical analyzer (javacc HTMLParser.jj). That solve problem for me.



      was (Author: h-aro):
    Try add JAVA_UNICODE_ESCAPE=true into options in HTMLParser.jj and regenrate lexical analyzer
(javacc HTMLParser.jj). That solve problem for me.


  
> While indexing Turkish web pages, "Parse Aborted: Lexical error...." occurs
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-2246
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2246
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 3.0
>            Reporter: Selim Nadi
>
> When I try to index Turkish page if there is a Turkish specific character in the HTML
specific tag HTML parser gives "Parse Aborted: Lexical error.on ... line" error.
> For this case "<IMG SRC="../images/head.jpg" WIDTH=570 HEIGHT=47 BORDER=0 ALT="ş">"
exception address "ş" character (which has 351 ascii value) as an error. OR ı character
in title tag.
> <a title="(ııı)">
> Turkish character in the content do not create any problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message