[jira] [Commented] (TIKA-2673) HtmlEncodingDetector doesn't follow the specification

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-2673) HtmlEncodingDetector doesn't follow the specification

JIRA jira@apache.org

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

Hudson commented on TIKA-2673:
------------------------------

FAILURE: Integrated in Jenkins build tika-2.x-windows #276 (See [https://builds.apache.org/job/tika-2.x-windows/276/])
TIKA-2673 -- unit tests for stricter adherence to spec via Gerard (tallison: rev b688afa01939a1f32775a7e7f0797a8ea466c612)
* (add) tika-parsers/src/test/java/org/apache/tika/parser/html/HtmlEncodingDetectorTest.java
* (edit) tika-parsers/src/main/java/org/apache/tika/parser/html/HtmlEncodingDetector.java


> HtmlEncodingDetector doesn't follow the specification
> -----------------------------------------------------
>
>                 Key: TIKA-2673
>                 URL: https://issues.apache.org/jira/browse/TIKA-2673
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Gerard Bouchar
>            Priority: Major
>         Attachments: HtmlEncodingDetectorTest.java
>
>
> This bug is linked to TIKA-2671, but does not concern metadata, but rather the bytes-based detection itself.
> While reading the specification, I collected a list of sample cases where HtmlEncodingDetector differs from the specification, and thus fails at detecting the right charset.
> I am attaching the test cases to this issue:



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)