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 2011/09/22 20:09:26 UTC

[jira] [Resolved] (TIKA-508) HtmlParser link processing should skip usemap and codebase attributes

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

Jukka Zitting resolved TIKA-508.
--------------------------------

    Resolution: Fixed

I removed codebase and the related data and classid attributes from the URL_ATTRIBUTES set in revision 1174283. Their URL resolution rules are more complex than what Tika currently implements, so it's better to leave those attributes as-is for now instead of resolving them incorrectly.

That should cover the remaining part of this issue, so resolving as fixed.

> HtmlParser link processing should skip usemap and codebase attributes
> ---------------------------------------------------------------------
>
>                 Key: TIKA-508
>                 URL: https://issues.apache.org/jira/browse/TIKA-508
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 0.7
>            Reporter: Ken Krugler
>            Assignee: Ken Krugler
>            Priority: Minor
>             Fix For: 0.10
>
>
> Currently the HtmlParser will try to resolve usemap and codebase attributes in elements.
> usemap is actually not a URI - see http://ln.hixie.ch/?start=1172653243&count=1 for a lengthy description of why the DTD at http://www.w3.org/TR/2002/REC-xhtml1-20020801/dtds.html#a_dtd_XHTML-1.0-Strict is incorrect.
> codebase is actually a base URI that's used to resolve other relative URLs for <object> and <applet> elements.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira