This may not just apply to AASXSerializer / AASXDeserializer but to others as well (which should share a common interface).
Also, this may have some impact on all sorts of classes, e.g. ReflectionHelper.
IS:
ReflectionHelper et al issue logger WARN
Sould:
Caller should be able to pass some optional lambda (e.g. a consumer for warnings), to catch warnings programmatically.
Example output from (modified) routine similar to org.eclipse.digitaltwin.aas4j.v3.dataformat.aasx.serialization.AASXSerializerTest, but with 1.0.0-milestone-03 (main branch does not produce the first two warnings, and the last warning is due to the modification of our test).
[main] WARN org.eclipse.digitaltwin.aas4j.v3.dataformat.core.util.ReflectionHelper - could not auto-resolve target class for mixin 'DataSpecificationPhysicalUnitMixin'
[main] WARN org.eclipse.digitaltwin.aas4j.v3.dataformat.core.util.ReflectionHelper - could not auto-resolve target class for mixin 'LangStringMixin'
[main] WARN org.eclipse.digitaltwin.aas4j.v3.dataformat.aasx.AASXSerializer - Could not add File '/aasx/OperatingManual.pdf'. It was not contained in given InMemoryFiles.
This may not just apply to AASXSerializer / AASXDeserializer but to others as well (which should share a common interface). Also, this may have some impact on all sorts of classes, e.g. ReflectionHelper. IS: ReflectionHelper et al issue logger WARN Sould: Caller should be able to pass some optional lambda (e.g. a consumer for warnings), to catch warnings programmatically.
Example output from (modified) routine similar to
org.eclipse.digitaltwin.aas4j.v3.dataformat.aasx.serialization.AASXSerializerTest
, but with1.0.0-milestone-03
(main branch does not produce the first two warnings, and the last warning is due to the modification of our test).