• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOGenericContainer convert elementName to lowercase automatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOGenericContainer convert elementName to lowercase automatically


  • Subject: Re: WOGenericContainer convert elementName to lowercase automatically
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 25 Apr 2008 08:23:41 +1000

Hi there,

On 25/04/2008, at 7:01 AM, Yung-Luen Lan wrote:

Is it just me?
I think it's a bug so I filed a bug report to Apple.

You'd have to take Wonder out of the mix to determine whether it's in WO or Wonder.


Old versions of WO used to have (terrible) upper-case tags. I suspect someone's put in a blanket lowercasing.

Perhaps you could adapt your code to look for the lowercased version of the keys?

On Thu, Apr 24, 2008 at 12:06 AM, Yung-Luen Lan <email@hidden> wrote:
Hi,

I use WO to generate XML file in my project. After updating my
outdated deploy environment to WO 5.4 / Project Wonder 4.x, I found
the xml generated is different: all the tags rendered by
WOGenericContainer become lowercase.

I use CamelCase before, and match these XML tree with their CamelCase
node name in other client app. Since they all become lowercase now,
the client program no longer match them correctly.

My wod looks like this:

Client: WOGenericContainer {
   elementName = "Client";
   name=client.name;
}

but the XML code generated looks like:
<client name="Bill"></client>

Is there any way that I can set these tag to CamelCase or just tell
the WO don't convert them for me?

Regards,
yllan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

with regards, --

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WOGenericContainer convert elementName to lowercase automatically
      • From: "Yung-Luen Lan" <email@hidden>
References: 
 >WOGenericContainer convert elementName to lowercase automatically (From: "Yung-Luen Lan" <email@hidden>)
 >Re: WOGenericContainer convert elementName to lowercase automatically (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: WO 5.4 and Confused / Stateless components
  • Next by Date: Re: Unable to decrement snapshot count ....count is already 0 or does not exist
  • Previous by thread: Re: WOGenericContainer convert elementName to lowercase automatically
  • Next by thread: Re: WOGenericContainer convert elementName to lowercase automatically
  • Index(es):
    • Date
    • Thread