[Mono-bugs] [Bug 691626] Unable to reference a <color> element if its name contains an upper case

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 24 15:58:42 EDT 2011



Jonathan Pryor <jonpryor at vt.edu> changed:

           What    |Removed                     |Added
                 CC|                            |jonpryor at vt.edu

--- Comment #1 from Jonathan Pryor <jonpryor at vt.edu> 2011-08-24 19:58:41 UTC ---
I'm not sure how to easily fix this. :-(

The problem is filenames: Android requires lowecase filenames, and some
@color/foo entries are backed by files:


In order to allow MixedCase filenames and resource references (e.g.
@color/MixedCase), aresgen "fixes" XML by lowercasing @color resource
references, so that Android sees @color/mixedcase. This is ~required in order
to support Resources\color\MixedCaseFilename.xml  files.

However, the lowercasing technique thus screws up Resources\values\colors.xml
entries, as you're seeing.

I suppose the fixup process could check for filenames provided, and if a
resource reference isn't also a filename, not lowercase it. I'll need to
investigate that...

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

More information about the mono-bugs mailing list