When you write an AssetAdministrationShellEnvironment_V3_0 that contains a SubmodelElementList to a .xml file using WriteEnvironment_V3_0, it does not satisfy the xml-schema AAS_V3_0.xsd. This results in the following error when trying to read the file again:
BaSyx.Models.Export.AssetAdministrationShellEnvironment_V3_0[0] Validation error: The element 'submodelElementList' in namespace 'https://admin-shell.io/aas/3/0' has invalid child element 'value' in namespace 'https://admin-shell.io/aas/3/0'. List of possible elements expected: 'displayName, description, semanticId, supplementalSemanticIds, qualifiers, embeddedDataSpecifications, orderRelevant, semanticIdListElement, typeValueListElement' in namespace 'https://admin-shell.io/aas/3/0'.
The problem is that the order enforced by the schema file does not match the order of fields of SubmodelElementList_V3_0.
When you write an
AssetAdministrationShellEnvironment_V3_0that contains a SubmodelElementList to a.xmlfile usingWriteEnvironment_V3_0, it does not satisfy the xml-schemaAAS_V3_0.xsd. This results in the following error when trying to read the file again:The problem is that the order enforced by the schema file does not match the order of fields of
SubmodelElementList_V3_0.