Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapType attribute superfluous #642

Closed
MarAlder opened this issue Jul 17, 2020 · 0 comments
Closed

mapType attribute superfluous #642

MarAlder opened this issue Jul 17, 2020 · 0 comments
Milestone

Comments

@MarAlder
Copy link
Collaborator

Both the stringVectorBaseType and arrayVectorBaseType have the attribute mapType (="vector" and ="array") which is required.

Since the data type is fixed by the schema (users may look into the documentation and this tutorial on how to read the documentation) the mapType attribute is not necessary.

Furthermore, the mapType frequently leads to confusion because users interpret it as switch between a double and vector/array type. However, XSD 1.0 unfortunately does not support this.

Therefore, the mapType attribute should be set optionally. In this way old data sets are still valid. In a next major release the attribute should be removed.

Also refer to DLR-SC/tixi#143.

@MarAlder MarAlder added this to the cpacs 3.3 milestone Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant