tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Krugler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TIKA-478) HtmlParser can emit <head> elements inside of <body> block
Date Thu, 12 Aug 2010 21:46:17 GMT

     [ 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.


Mime
View raw message