Bug 23880 - Binary XML file line #1 Error inflating class when namespace is not lowercase in AXML
Summary: Binary XML file line #1 Error inflating class when namespace is not lowercase...
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.18.0
Hardware: PC Mac OS
: High major
Target Milestone: 4.18.1
Assignee: Jonathan Pryor
Depends on:
Reported: 2014-10-16 14:43 UTC by John Miller [MSFT]
Modified: 2014-10-27 11:14 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Test Case (11.92 KB, application/zip)
2014-10-16 14:43 UTC, John Miller [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description John Miller [MSFT] 2014-10-16 14:43:31 UTC
Created attachment 8436 [details]
Test Case


   Runtime crash on any app that has custom controls where the namespaces is not lowercase in the layout file. This test has the custom control included IN the app project, and NOT in a separate library project.

**Steps to Reproduce:**

   1. Run the attached project. 

**Actual Results:**

   A crash with exception "Binary XML file line #1: Error inflating class ..."

**Expected Results:**

   No crash.

**Build Date & Platform:**

   XA 4.18

**Additional Information:**

   Change the CustomControl.CustomButton xml to customcontrol.CustomButton in MainLayout.axml and the project will work.
Comment 2 Jonathan Pryor 2014-10-21 16:42:35 UTC
Fixed in monodroid/9a970dfe.