You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "James Sullivan (JIRA)" <ji...@apache.org> on 2016/03/03 04:47:20 UTC
[jira] [Commented] (TIKA-1782) XHTMLContentHandler doesn't pass
attributes of html element
[ https://issues.apache.org/jira/browse/TIKA-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177104#comment-15177104 ]
James Sullivan commented on TIKA-1782:
--------------------------------------
Is this related http://stackoverflow.com/questions/30543395/how-to-get-href-attribute-from-base-tag-using-tika-sax-contenthandler? Even using Tika 1.12 the base tag attributes do not seem to be passed.
> XHTMLContentHandler doesn't pass attributes of html element
> -----------------------------------------------------------
>
> Key: TIKA-1782
> URL: https://issues.apache.org/jira/browse/TIKA-1782
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.11
> Reporter: Markus Jelsma
> Fix For: 1.12
>
> Attachments: TIKA-1782.patch
>
>
> XHTMLContentHandler.startElement() uses lazyHead() for the html element because it's defined in the AUTO Set. As a consequence, attributes of the html element are not passed to downstream content handlers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)