Re: PropertyListSerialization

From: Greg (ghuland..ramedphotographics.com)
Date: Tue Jun 28 2005 - 22:20:19 EDT

  • Next message: Andrus Adamchik: "Re: PropertyListSerialization"

    Hi Andrus,
    Not sure how to make patches, but here is the change.

    In quoteString, just have to add a '+' to the special string.

             // 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++) {

    Greg

    On 29/06/2005, at 10:36 AM, Andrus Adamchik wrote:

    > You can get Cayenne sources here: http://objectstyle.org/cayenne/
    > index.html
    >
    > Make sure you submit your patch via JIRA (logins are shared between
    > WOLips and Cayenne bugtrackers): http://objectstyle.org/jira/secure/
    > CreateIssue!default.jspa
    >
    > Andrus
    >
    >
    > On Jun 28, 2005, at 8:08 PM, Greg wrote:
    >
    >
    >> Hi,
    >> I want to fix a bug in the PropertyListSerialization class, but
    >> cannot find the source for it. It seems to be prepackaged in the
    >> cayenne jar. Does anyone know where I can get this file so I can
    >> fix it? The problem is when generating the xcode index, if a
    >> resource name has a plus sign in it, it doesn't quote the string.
    >>
    >> Greg
    >>
    >>
    >>
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Jun 28 2005 - 22:21:02 EDT