tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Krugler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-508) HtmlParser link processing should skip usemap and codebase attributes
Date Thu, 10 Feb 2011 23:08:57 GMT

    [ https://issues.apache.org/jira/browse/TIKA-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993263#comment-12993263
] 

Ken Krugler commented on TIKA-508:
----------------------------------

I don't think the codebase URI can be relative, as per http://www.w3.org/TR/html401/struct/objects.html#adef-codebase-OBJECT.
It says "This attribute specifies the base path used to resolve relative URIs...". For URIs
of other attributes, if they can be relative then there's the note "If given as a relative
URI...", but this is missing from the description of codebase. So while not definitive, it
feels like it shouldn't be relative.

> 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.9
>
>
> 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

        

Mime
View raw message