Inner tag can also have namespace
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"> </mx:Canvas> </mx:Application>