Closed CHRiSLY78 closed 1 year ago
@CHRiSLY78 thanks for posting the issue! Please have a look at the note regarding MoveToContent
in the documentation:
https://aas-core-works.github.io/aas-core3.0-csharp/getting_started/xmlize.html#de-serialize
Please re-open if it does not solve the issue.
I'm leaving this open as the error message needs to improve.
@CHRiSLY78 a new patch version should be on nuget soon: https://github.com/aas-core-works/aas-core3.0-csharp/releases/tag/v1.0.0-rc5
Trying to deserialize an AASX package containing an XML aas-spec with leading XML prolog I get the following error message:
(nothing after at:)
Not working example:
Removing the XML prolog from aas-spec file within the package resolves the error. Working example:
I was not able to find any restriction to XML prologs in part 5 of the specification or at https://github.com/admin-shell-io/aas-specs/tree/master/schemas/xml. And it would surprise me, if there were any in this case to be honest.
Have I overseen something or might this be wrong behavior on aas-core side?