File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
instantiator/characteristic Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,8 @@ export class EnumerationCharacteristicInstantiator extends CharacteristicInstant
133
133
return this . solveBlankNodeValues ( [ ...resolvedBlankNodes ] ) ;
134
134
}
135
135
136
- if ( ( quad . object as any ) . datatypeString === Samm . LANG_STRING ) {
136
+ if ( ( ( quad . object as any ) . datatypeString === Samm . RDF_LANG_STRING ) ||
137
+ ( ( quad . object as any ) . datatypeString === Samm . XML_LANG_STRING ) ) {
137
138
return this . createLanguageObject ( quad ) ;
138
139
}
139
140
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ export class Samm {
19
19
static readonly RDFS_URI = 'http://www.w3.org/2000/01/rdf-schema' ;
20
20
static readonly BASE_URI = 'urn:samm:org.eclipse.esmf.samm:' ;
21
21
22
- static readonly LANG_STRING = `${ Samm . RDF_URI } #langString` ;
22
+ static readonly RDF_LANG_STRING = `${ Samm . RDF_URI } #langString` ;
23
+ static readonly XML_LANG_STRING = `${ Samm . XSD_URI } #langString` ;
23
24
24
25
private alias = 'samm' ;
25
26
You can’t perform that action at this time.
0 commit comments