You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Petr Nekvinda (JIRA)" <ji...@apache.org> on 2010/02/18 15:57:27 UTC

[jira] Commented: (LUCENE-2246) While indexing Turkish web pages, "Parse Aborted: Lexical error...." occurs

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

Petr Nekvinda commented on LUCENE-2246:
---------------------------------------

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