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] Created: (JCR-2636) Litmus prophighunicode test failure on JRE 1.5
Date Tue, 25 May 2010 09:46:25 GMT
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

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.

View raw message