Commit 4e3efbf3 authored by Dominique Marcadet's avatar Dominique Marcadet

Merge branch '29-there-is-still-a-problem-with-the-trailing-sharp' into 'master'

Resolve "there is still a problem with the trailing sharp"

Closes #29

See merge request RiseClipseGroup/RiseClipseMain!29
parents c0e4b67b c69266ea
......@@ -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