[OS-JIRA] Created: (CAY-339) PropertyListSerialization doesn't handle a plus (+) sign in a string and escape it.

From: jira-norepl..bjectstyle.org
Date: Tue Jun 28 2005 - 22:50:35 EDT

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-340) AutoIncrement/Identity Improvements"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-339

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-339
        Summary: PropertyListSerialization doesn't handle a plus (+) sign in a string and escape it.
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Greg Hulands

        Created: Tue, 28 Jun 2005 10:50 PM
        Updated: Tue, 28 Jun 2005 10:50 PM
    Environment: OS X

    Description:
    I found an issue when using WOProject and generating an xcode index. I have a couple of resource names that contain a plus sign. The resulting plist file does not quote the string and thus xcode says the file is invalid.

    I added the plus to the special string in quoteString in PropertyListSerialization

    // scan string for special chars,
            // if we have them, string must be quoted
            String special = " \\\"{}();,-+\'";
            char[] chars = str.toCharArray();
            int len = chars.length;
            for (int i = 0; i < len; i++) {

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Tue Jun 28 2005 - 22:50:36 EDT