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] Updated: (TIKA-478) HtmlParser can emit <head> elements inside of <body> block
Date Thu, 12 Aug 2010 22:55:18 GMT

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

Ken Krugler updated TIKA-478:
-----------------------------

    Attachment: TIKA-478-2.patch

Additional fix for problem with missing closing </body> and </html> tags.

> 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-2.patch, 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