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

Throw error message for arrays #47

Open
sockeqwe opened this issue Oct 19, 2016 · 0 comments
Open

Throw error message for arrays #47

sockeqwe opened this issue Oct 19, 2016 · 0 comments
Milestone

Comments

@sockeqwe
Copy link
Contributor

sockeqwe commented Oct 19, 2016

Originally reported in #44

Arrays are not supported because Arrays are inefficient to parse because we have to know the size of the array, which means we have to read the whole xml document and store the values somewhere temporary (i.e. in a list) to know the final size of the array and then we have to copy the values from temporary structure into array.
Therefore, we don't have plans to support arrays.

However, we should throw a compiler error message if people try to use arrays, but this would disallow using a global TypeConverter for arrays, but I think that this is acceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant