xml processor changing the names of strings can lead to conflicts #32
Labels
bug
Something isn't working
codegen: android-xml
Codegen from Android String Resources conversion issue
I tried running the XML processor on our strings and ended up getting a conflict where the generated code had variables with the same name. After some digging I discovered what the problem is.
In our string files we ended up having 2 strings that were named almost the same
Oddly enough in 1 language they even had different translations.
Because the XML processor converts all the names to camel case they ended up being mapped to the same name which produced duplicate items both with the name pendingLabel.
The processor should at least detect such a conflict and handle it more appropriately than generating code that does not compile.
The text was updated successfully, but these errors were encountered: