invalid ValueType langString
Hello,
I just came across your asset administration implementation in python and wanted to try it out by using the commonly used example:
Example_AAS_ServoDCMotor_21.xml
However, when using the xml adapter, some submodel elements cannot be created due to the following problem:
ValueError: aas:valueType on line 108 has invalid text: langString
As it seems like langString is not a supported valueType since it is not part of the dictionary where it is searched for during the deseialization process:
{'duration': <class 'dateutil.relativedelta.relativedelta'>, 'dateTime': <class 'datetime.datetime'>, 'date': <class 'aas.model.datatypes.Date'>, 'time': <class 'datetime.time'>, 'gYearMonth': <class 'aas.model.datatypes.GYearMonth'>, 'gYear': <class 'aas.model.datatypes.GYear'>, 'gMonthDay': <class 'aas.model.datatypes.GMonthDay'>, 'gMonth': <class 'aas.model.datatypes.GMonth'>, 'gDay': <class 'aas.model.datatypes.GDay'>, 'boolean': <class 'bool'>, 'base64Binary': <class 'aas.model.datatypes.Base64Binary'>, 'heyBinary': <class 'aas.model.datatypes.HexBinary'>, 'float': <class 'aas.model.datatypes.Float'>, 'double': <class 'float'>, 'decimal': <class 'decimal.Decimal'>, 'integer': <class 'int'>, 'long': <class 'aas.model.datatypes.Long'>, 'int': <class 'aas.model.datatypes.Int'>, 'short': <class 'aas.model.datatypes.Short'>, 'byte': <class 'aas.model.datatypes.Byte'>, 'nonPositiveInteger': <class 'aas.model.datatypes.NonPositiveInteger'>, 'negativeInteger': <class 'aas.model.datatypes.NegativeInteger'>, 'nonNegativeInteger': <class 'aas.model.datatypes.NonNegativeInteger'>, 'positiveInteger': <class 'aas.model.datatypes.PositiveInteger'>, 'unsignedLong': <class 'aas.model.datatypes.UnsignedLong'>, 'unsignedShort': <class 'aas.model.datatypes.UnsignedShort'>, 'unsignedByte': <class 'aas.model.datatypes.UnsignedInt'>, 'anyURI': <class 'aas.model.datatypes.AnyURI'>, 'string': <class 'str'>, 'normalizedString': <class 'aas.model.datatypes.NormalizedString'>}
Is this correct or am I missing something?