You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Rantalaiho (JIRA)" <ji...@apache.org> on 2008/12/03 01:36:44 UTC

[jira] Closed: (WICKET-306) XML License Header Tests fail with Unicode BOM

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

Timo Rantalaiho closed WICKET-306.
----------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 1.4-RC2)

This seems like better handled with the workaround of manually removing the BOM from problematic files.

> XML License Header Tests fail with Unicode BOM
> ----------------------------------------------
>
>                 Key: WICKET-306
>                 URL: https://issues.apache.org/jira/browse/WICKET-306
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Jean-Baptiste Quenot
>
> License header tests use FileReader, which is subject to a JDK bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
> Namely, if the XML file is encoded using UTF-8 *and* has a BOM (this is optional), license check fails.
> We might integrate Unicode Reader from http://koti.mbnet.fi/akini/java/unicodereader/ provided that the license is ASL compatible.
> A workaround is to remove the optional Unicode BOM.  I do that in Vim by using "set nobomb" and writing the file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.