[FrameworkBundle] Fixed bug in XMLDescriptor