You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Daan de Wit (JIRA)" <ji...@apache.org> on 2009/03/23 12:57:50 UTC

[jira] Created: (TIKA-210) html content directly under body node not parsed correctly

html content directly under body node not parsed correctly
----------------------------------------------------------

                 Key: TIKA-210
                 URL: https://issues.apache.org/jira/browse/TIKA-210
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 0.3
            Reporter: Daan de Wit


The html parser does not correctly parse content that is directly under the body node, when passing html like this: <html><body>This is my content</body></html>, an empty string is returned when calling BodyContentHandler#toString()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TIKA-210) html content directly under body node not parsed correctly

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved TIKA-210.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4
         Assignee: Jukka Zitting

This was caused by the XHTMLContentHandler postponing the output of the XHTML prefix to when the first start tag inside the <body> is seen.

Fixed in revision 757747.

> html content directly under body node not parsed correctly
> ----------------------------------------------------------
>
>                 Key: TIKA-210
>                 URL: https://issues.apache.org/jira/browse/TIKA-210
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.3
>            Reporter: Daan de Wit
>            Assignee: Jukka Zitting
>             Fix For: 0.4
>
>
> The html parser does not correctly parse content that is directly under the body node, when passing html like this: <html><body>This is my content</body></html>, an empty string is returned when calling BodyContentHandler#toString()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.