You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2011/09/24 00:11:26 UTC

[jira] [Updated] (TIKA-648) Parsing HTML anchors with embedded div faulty

     [ https://issues.apache.org/jira/browse/TIKA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated TIKA-648:
-------------------------------

    Fix Version/s:     (was: 0.10)

Yep, this probably needs to be addressed in one way or another within TagSoup. But since this issue does affect also Tika users, let's leave this issue open to track progress.

> Parsing HTML anchors with embedded div faulty
> ---------------------------------------------
>
>                 Key: TIKA-648
>                 URL: https://issues.apache.org/jira/browse/TIKA-648
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.9
>            Reporter: Markus Jelsma
>
> Using Nutch with Tika 0.9 i cannot extract all two outlinks from a given page 
> [1]. This is because Tika doensn't return the document with the anchor text 
> embedded and Nutch skips empty anchors when collecting outlinks.
> The raw HTML is:
> <a href="#"><div>bla 1</div></a>
> <a href="#">bla 2</a>
> But the parsed HTML with tika-app-1.0-SNAPSHOT.jar -h test.html is:
> <a shape="rect" href="#"/>bla 1
> <a shape="rect" href="#">bla 2</a>
> [1]: http://people.apache.org/~markus/test.html
> Also described on the Tika user list:
> http://search.lucidimagination.com/search/document/e74d7e72fd61543a/parsing_html_anchors_with_embedded_div_faulty

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira