You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2008/04/20 20:46:25 UTC

[jira] Updated: (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 ]

Frank Bille Jensen updated WICKET-306:
--------------------------------------

    Fix Version/s:     (was: 1.4-M1)
                   1.4-M2

> 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
>             Fix For: 1.4-M2
>
>
> 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.