[Mono-bugs] [Bug 633054] R.cs generator does not validate resource names

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 20 10:21:59 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=633054

https://bugzilla.novell.com/show_bug.cgi?id=633054#c1


--- Comment #1 from Jonathan Pryor <jpryor at novell.com> 2010-08-20 14:21:58 UTC ---
So, testing to see what Android actually does, and apparently they do an
s/\./_/g to resource names, so R.java would contain Hello_World.

More "interestingly" is that they don't properly clean up everything; a string
resource with the name "foo/bar" results as the variable 'foo/bar' (i.e. no
change), which results in a javac compilation error (as expected).

I think I can do a little better here...

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list