You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is valid for an item in a string-array to be empty. The parser will accept a self-closing tag, but it is more common to find: <item></item>
This is commonly used. You can see an example from AOSP source that uses this technique multiple times.
However, a2po will omit those with a warning. Then the string-array is missing an item. If run on the case in the provided example, this causes the remaining values to correlate with the wrong array index, and thus the wrong status is displayed.
It is critical that empty items be emitted in the original location within a string-array.
The text was updated successfully, but these errors were encountered:
It is valid for an item in a string-array to be empty. The parser will accept a self-closing tag, but it is more common to find:
<item></item>
This is commonly used. You can see an example from AOSP source that uses this technique multiple times.
However, a2po will omit those with a warning. Then the string-array is missing an item. If run on the case in the provided example, this causes the remaining values to correlate with the wrong array index, and thus the wrong status is displayed.
It is critical that empty items be emitted in the original location within a string-array.
The text was updated successfully, but these errors were encountered: