asterics / AsTeRICS

The Assistive Technology Rapid Integration & Construction Set
http://www.asterics.eu
Other
57 stars 27 forks source link

XML-Model invalid according to model schema due to attribute 'modelVersion' instead of 'version' #240

Closed deinhofer closed 6 years ago

deinhofer commented 6 years ago

When you download the currently deployed model you get it in XML represenation. When you then upload the model again, the ARE fails with the following error message: grafik You can reproduce the problem with the online REST demos: http://asterics.github.io/AsTeRICS/webapps/startpage/#submenuRest:runtime_model_deployment

This is obviously because the model attribute 'modelVersion' is not according to the model schema definition, which expects 'version' instead.

Solution

Change attribute to 'version'