Unexpected Behaviour of "cannot convert to String" error message #77
Labels
File
Issues related to File (AASX, JSON, Xml) validation
Needs: Author's Feedback
Waiting for information/ feedback from issue's author
This error message appears 4 times for the attached aas json model:
"cannot convert to String ..."
Example_AAS_Final.json
date_of_manufacture - Cannot convert to string: valueType must be xs:string
There is no "date_of_manufacture" in the model but "DateOfManufacture". Here valueType is xs:date for value "2024-08-01". This cannot be changed because it is specified by submodel template. If changed from xs:date to xs:string the error is resolved for the validation tool.
firmware_version - Cannot convert to string: must be a Property
There is no firmware_version but FirmwareVersion. Here there is no valueType but model type multi language property. This cannot be changed because it is specified by submodel template and metamodel.
hardware_version - Cannot convert to string: must be a Property
see above
software_version - Cannot convert to string: must be a Property
see above
It is not possible to resolve the first error message without breaking the specification, and unclear how to resolve the error message for the latter three cases.
The text was updated successfully, but these errors were encountered: