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/24 00:09:26 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13113799#comment-13113799 ] 

Jukka Zitting commented on TIKA-508:
------------------------------------

To fix a failing test case I actually did end up implementing the proper resolution rules fro the codebase, classid and data attributes of the object element. See revision 1175043.

> 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