-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When generating Kotlin classes from the following schema:
https://edavki.durs.si/Documents/Schemas/Doh_KDVP_9.xsd
I encountered the following issues:
- TypeInventoryEnum.Unknown is used but not generated, which causes syntax error.
- This seems to be Jackson related, but can also be 'fixed' here: If variable has name with inverse case, for example kDVP, it is serialized to lowercase XML tag 'kdvp' regardless of property localname='KDVP'. Solution: rename var in generated code to lower case ('kdvp'). Note: It seems that XML tag is serialized as lowercase by Jackson if the first letter of var name is lower case, and the second is upper case. The rest is not important.
- @JsonPropertyOrder annotation is missing for sequences of XML elements to preserve element order on
serialization.
4. Property @JacksonXmlProperty(namespace=...) is not generated for elements with namespace.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels