You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2010/08/12 23:46:17 UTC

[jira] Resolved: (TIKA-478) HtmlParser can emit elements inside of block

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

Ken Krugler resolved TIKA-478.
------------------------------

    Resolution: Fixed

SVN 984997.

Normally I'd let a patch like this bake for a while, but it's blocking some work that needs to use Tika trunk for other fixes, so I've pushed it out sooner than usual. Happy to revert if a review uncovers any issues.


> HtmlParser can emit <head> elements inside of <body> block
> ----------------------------------------------------------
>
>                 Key: TIKA-478
>                 URL: https://issues.apache.org/jira/browse/TIKA-478
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.7
>            Reporter: Ken Krugler
>            Assignee: Ken Krugler
>            Priority: Critical
>             Fix For: 0.8
>
>         Attachments: TIKA-478.patch
>
>
> The change to fix [TIKA-379] causes a premature generation of HTML <head> element and nested <title> by the XHTMLContentHandler being used by HtmlHandler.
> This then creates issues for any downstream content handler, as they can then get an empty <title> element, and <meta> elements inside of the <body> element (which is invalid).

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