diff --git a/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java b/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java index 5cf6e7ff7..414367d42 100644 --- a/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java +++ b/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java @@ -260,7 +260,7 @@ protected final Resource copyResource(final EObject anySourceModelElement){ URI copiedResourceURI = URI.createHierarchicalURI(URIQuery.INMEMORY_URI_SCHEME, resourceURI.authority(), resourceURI.device(), resourceURI.segments(), resourceURI.query(), resourceURI.fragment()); - final Resource resource = domain.createResource(anySourceModelElement.eResource().getURI().toString()); + final Resource resource = domain.createResource(copiedResourceURI.toString()); this.domain.getResourceSet().getResources().add(resource);