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 17:44:28 UTC
[jira] Commented: (TIKA-379) Html elements and attributes not
available in XHTML representation
[ https://issues.apache.org/jira/browse/TIKA-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897803#action_12897803 ]
Ken Krugler commented on TIKA-379:
----------------------------------
There's a problem with this change, where calling the XHTMLContentHandler with elements from inside of the <head> block trigger the premature emitting of <head><title/></head><body> elements. I've filed [TIKA-478], and will look at how best to fix this in HtmlHandler.
> Html elements and attributes not available in XHTML representation
> -------------------------------------------------------------------
>
> Key: TIKA-379
> URL: https://issues.apache.org/jira/browse/TIKA-379
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.7
> Reporter: Julien Nioche
> Assignee: Chris A. Mattmann
> Priority: Critical
> Fix For: 0.8
>
> Attachments: TIKA-379, TIKA-379-2.patch, TIKA-379-3.patch
>
>
> The following HTML document :
> <html lang="fi"><head>document 1 title</head><body>jotain suomeksi</body></html>
> is rendered as the following xhtml by Tika :
> <?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml"><head><title/></head><body>document 1 titlejotain suomeksi</body></html>
> with the lang attribute getting lost. The lang is not stored in the metadata either.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.