You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/06/11 00:42:26 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 ]

Alastair Maw updated WICKET-306:
--------------------------------

    Fix Version/s: 1.4.0-alpha

Doesn't seem to affect us much at the moment, I guess. Look at this for 1.4.x, maybe.

> 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.0-alpha
>
>
> 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.