On Wednesday, January 9, 2013 2:01:39 PM UTC+1, Martin Pain wrote: > > I know this problem was reported over a year ago, but I've just seen it, > and have managed to diagnose what was causing it in my situation. > > I've seen this problem when running GWT from Eclipse when my OS's locale > is set to Turkey. (I believe it is caused by an incorrect case-insensitive > compare in the parsing code somewhere.) > > The workaround is to spell the element as ui:WITH, e.g.: > <ui:WITH type='com.myproject.client.resource.MyResource' field='resource' > /> > > I hope this helps anyone else who runs into this problem. >
It indeed is a turkish-locale-specific incorrect case-insensitive comparison: https://code.google.com/p/google-web-toolkit/source/browse/tags/2.5.0/user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java#503 Would you mind filing a new issue? (unless there's one already about it). We should do a pass over the whole codebase to remove all locale-sensitive toUpperCase/toLowerCase. Feel free to provide a patch, it's always welcome! Another workaround would be to switch locale: the GWT tools aren't localized anyway. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/3gOws0ASaqUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
