Currently, only the Source attribute is being used to name the FrameworksIndex/*.xml file, and in the resulting <Framework Name="..."> element. These values should be sourced from the Name attribute instead.
edit: secondary requirement ... the resolution to this bug will need to take into account backwards compatibility. We've got to make sure that existing EcmaXML repos will not break if they try using a newer version that includes this fix.