tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-995) XHTMLContentHandler doesn't pass attributes of body element
Date Mon, 24 Sep 2012 11:04:07 GMT

     [ 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

Mime
View raw message