Community
Participate
Working Groups
= Problem description = XML files with OMG XMI content yield an OMG-defined XMI namespace rather than the model namespace but still may embed model content somewhere inside: <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML"> <uml:Model xmi:id="bdcfbaeb-2732-446b-946e-0656c4efb96c" name="Model"> ... For the sake of optimizing content type detection performance, MetaModelDescriptorRegistry#fastGetContentTypeId() considers such files as non-model files and returns IExtendedPlatformConstants.CONTENT_TYPE_ID_NON_MODEL_XML_FILE as content type. = Resolution proposal = Make sure that MetaModelDescriptorRegistry#fastGetContentTypeId() excludes OMG XMI files from the performance optimization, and lets perform a full content type analysis so as to find out if the OMG XMI file is a model file or not.
Fixed as proposed in description.
Mass-closing Resolved tickets