-
Notifications
You must be signed in to change notification settings - Fork 22
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
Serializing an FSArray without any elements breaks #211
Comments
reckart
added a commit
that referenced
this issue
Sep 22, 2021
- Handle empty arrays during XMI (de)serialization - Handle array features where actually no target array exists - Upgraded tests to include empty and non-existing arrays
reckart
added a commit
that referenced
this issue
Sep 22, 2021
…without-any-elements-breaks #211 - Serializing an FSArray without any elements breaks
reckart
added a commit
that referenced
this issue
Sep 22, 2021
…tems-from-to-Path * main: #211 - Serializing an FSArray without any elements breaks
reckart
added a commit
that referenced
this issue
Sep 27, 2021
…ithub.com/dkpro/dkpro-cassis into feature/168-Experimental-JSON-CAS-support * 'feature/168-Experimental-JSON-CAS-support' of https://github.com/dkpro/dkpro-cassis: No issue. Formatting. #215 - Ability to exclude types from cas_to_comparable_text #212 - Allow loading/saving XMI/typesystems from/to Path #211 - Serializing an FSArray without any elements breaks #212 - Allow loading/saving XMI/typesystems from/to Path #168 - Experimental JSON CAS support #168 - Experimental JSON CAS support #168 - Experimental JSON CAS support #209 - Parsing an array that was serialized using multipleReferencesAllowed=true fails - Do not execute performance "tests" when running make test - Update JSON reference data with new data from UIMA Java SDK - including CAS examples using emojis and other Unicode characters - Enabled character offset conversion on import/export in JSON (de)serializer #209 - Parsing an array that was serialized using multipleReferencesAllowed=true fails
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Serializing an FSArray without any elements produces an XML attribute like
xxx="None"
.Might be limited to the JSON branch - need to check.
Expected behavior
If an array is empty serialize a
xxx=""
case. If the arrays does not even exist, omit the attribute.Please complete the following information:
The text was updated successfully, but these errors were encountered: