You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2010/09/21 18:58:35 UTC

[jira] Created: (PIVOT-644) Improve JSONSerializer to ignore a BOM at the beginning of file

Improve JSONSerializer to ignore a BOM at the beginning of file
---------------------------------------------------------------

                 Key: PIVOT-644
                 URL: https://issues.apache.org/jira/browse/PIVOT-644
             Project: Pivot
          Issue Type: Improvement
          Components: core-json
    Affects Versions: 1.5.1
         Environment: Windows XP SP3, Java JDK 1.6.0_16
            Reporter: Roger Whitcomb
            Priority: Minor
             Fix For: 1.5.2


A "true" UTF-8 file that includes the UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF) produces a SerializationError on the BOM character.

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


[jira] Updated: (PIVOT-644) Improve JSONSerializer to ignore a BOM at the beginning of file

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-644:
-----------------------------

    Fix Version/s: 2.0

> Improve JSONSerializer to ignore a BOM at the beginning of file
> ---------------------------------------------------------------
>
>                 Key: PIVOT-644
>                 URL: https://issues.apache.org/jira/browse/PIVOT-644
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-json
>    Affects Versions: 1.5.1
>         Environment: Windows XP SP3, Java JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 1.5.2, 2.0
>
>         Attachments: svn.diff
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> A "true" UTF-8 file that includes the UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF) produces a SerializationError on the BOM character.

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


[jira] Updated: (PIVOT-644) Improve JSONSerializer and CSVSerializer to ignore a BOM at the beginning of file

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-644:
-----------------------------

    Summary: Improve JSONSerializer and CSVSerializer to ignore a BOM at the beginning of file  (was: Improve JSONSerializer to ignore a BOM at the beginning of file)

> Improve JSONSerializer and CSVSerializer to ignore a BOM at the beginning of file
> ---------------------------------------------------------------------------------
>
>                 Key: PIVOT-644
>                 URL: https://issues.apache.org/jira/browse/PIVOT-644
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-json
>    Affects Versions: 1.5.1
>         Environment: Windows XP SP3, Java JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 1.5.2, 2.0
>
>         Attachments: svn.diff
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> A "true" UTF-8 file that includes the UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF) produces a SerializationError on the BOM character.

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


[jira] Updated: (PIVOT-644) Improve JSONSerializer to ignore a BOM at the beginning of file

Posted by "Roger Whitcomb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb updated PIVOT-644:
---------------------------------

    Attachment: svn.diff

Attached patch solves the issue by ignoring the BOM if present at the beginning of the file.

> Improve JSONSerializer to ignore a BOM at the beginning of file
> ---------------------------------------------------------------
>
>                 Key: PIVOT-644
>                 URL: https://issues.apache.org/jira/browse/PIVOT-644
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-json
>    Affects Versions: 1.5.1
>         Environment: Windows XP SP3, Java JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 1.5.2
>
>         Attachments: svn.diff
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> A "true" UTF-8 file that includes the UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF) produces a SerializationError on the BOM character.

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


[jira] Resolved: (PIVOT-644) Improve JSONSerializer to ignore a BOM at the beginning of file

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-644.
------------------------------

    Resolution: Fixed

Nice. Applied to Pivot 1.5.x and 2.0.


> Improve JSONSerializer to ignore a BOM at the beginning of file
> ---------------------------------------------------------------
>
>                 Key: PIVOT-644
>                 URL: https://issues.apache.org/jira/browse/PIVOT-644
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-json
>    Affects Versions: 1.5.1
>         Environment: Windows XP SP3, Java JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 1.5.2
>
>         Attachments: svn.diff
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> A "true" UTF-8 file that includes the UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF) produces a SerializationError on the BOM character.

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