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
133133 return this . solveBlankNodeValues ( [ ...resolvedBlankNodes ] ) ;
134134 }
135135
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 ) ) {
137138 return this . createLanguageObject ( quad ) ;
138139 }
139140
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ export class Samm {
1919 static readonly RDFS_URI = 'http://www.w3.org/2000/01/rdf-schema' ;
2020 static readonly BASE_URI = 'urn:samm:org.eclipse.esmf.samm:' ;
2121
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` ;
2324
2425 private alias = 'samm' ;
2526
You can’t perform that action at this time.
0 commit comments