jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2636) Litmus prophighunicode test failure on JRE 1.5
Date Tue, 25 May 2010 09:52:23 GMT

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

Jukka Zitting resolved JCR-2636.
--------------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

Fixed in revision 947986 by using an explicit OutputStreamWriter instance for the UTF-8 encoding.

> Litmus prophighunicode test failure on JRE 1.5
> ----------------------------------------------
>
>                 Key: JCR-2636
>                 URL: https://issues.apache.org/jira/browse/JCR-2636
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.1.0
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> The WebDAV Litmus test suite contains a test case for writing and reading the Unicode
character &#x10000; which can't be represented as a single 16-bit char in Java. Instead
the character is stored as a surrogate pair of two 16-bit chars. Unfortunately the Xalan XML
serializer used by Sun JRE 1.5 incorrectly encodes these as two separate characters in UTF-8,
which leads to the following Litmus test failure:
> -> running `props':
> [...]
> 17. prophighunicode....... pass
> 18. propget............... FAIL (PROPFIND on `/default/litmus/prop2': XML parse error
at line 1: not well-formed (invalid token))

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


Mime
View raw message