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

Markus Jelsma updated TIKA-995:
-------------------------------

    Attachment: TIKA-995-1.3-1.patch

Here's a quick fix. If the body is removed from the AUTO Set all attributes on 
the body tag are reported in the content handlers.
                
> XHTMLContentHandler doesn't pass attributes of body element
> -----------------------------------------------------------
>
>                 Key: TIKA-995
>                 URL: https://issues.apache.org/jira/browse/TIKA-995
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.2
>            Reporter: Markus Jelsma
>             Fix For: 1.3
>
>         Attachments: TIKA-995-1.3-1.patch
>
>
> XHTMLContentHandler.startElement() uses lazyHead() for the body element 
> because it's defined in the AUTO Set. As a consequence, attributes of the 
> body element are not passed to downstream content handlers. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to