Re: WOGenericContainer convert elementName to lowercase automatically
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