Commit c69266ea authored by Dominique Marcadet's avatar Dominique Marcadet

remove trailing # before looking for a known metamodel

parent c0e4b67b
......@@ -148,6 +148,7 @@ public class RiseClipseMetamodel {
}
if( XMLNS_ATTRIBUTE_NAME.equals( furi ) ) {
String ns = attributes.getValue( i );
if( ns.endsWith( "#" )) ns = ns.substring( 0, ns.length() - 1 );
if( knownMetamodels.containsKey( ns )) {
if( knownMetamodels.get( ns ).getResourceSetFactory().isPresent() ) {
// Stop parsing and give back result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment