You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/07/08 16:17:35 UTC

[jira] [Resolved] (TIKA-430) Automatically let all valid XHTML 1.0 attributes through from HTML documents

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

Jukka Zitting resolved TIKA-430.
--------------------------------

    Resolution: Incomplete

Resolving as incomplete since after two years there still isn't a patch for this issue. Feel free to reopen when there's something to add. The correct place to put something like this would be the SAFE_ATTRIBUTES map in DefaultHtmlMapper.
                
> Automatically let all valid XHTML 1.0 attributes through from HTML documents
> ----------------------------------------------------------------------------
>
>                 Key: TIKA-430
>                 URL: https://issues.apache.org/jira/browse/TIKA-430
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Ken Krugler
>            Assignee: Ken Krugler
>
> Many consumers of parse output wouldn't want to process the raw (unnormalized) elements they'd get with the IdentityHtmlMapper, but they would want to get any standard attributes. For example, with <a> elements they would get any rel attribues.
> I believe this would require changing the DefaultHtmlMapper to "know" about valid attributes for different elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira