The Eclipse-based OML APIs generally use EMF's URI for constructing IRIs; e.g.:
import org.eclipse.emf.common.util.URI
val organization = "..."
val datasource = "..."
val s_suffix = ".."
val systemURI = URI.createURI('''http://«organization»/user-model/«datasource»/«s_suffix»''')
Unfortunately, the EMF URI API allows creating ill-formed IRIs; e.g.:
...
val systemURI = URI.createURI('''http:///«organization»/user-model/«datasource»/«s_suffix»''')
The Eclipse-based OML APIs generally use EMF's URI for constructing IRIs; e.g.:
Unfortunately, the EMF URI API allows creating ill-formed IRIs; e.g.:
This is allowed by the Eclipse EMF URI API but it is ill-formed per RFC7230, see Effective Request URI syntax