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