Ryan Smith
03/29/2023, 2:56 PMjavax.xml.bind (which I think is the Oracle JAXB implementation), while the latter is based on the Jakarta JAXB implementation from The Eclipse Project.
Are there any license or other issues with using the jaxb converter (and, by extension, javax.xml.bind)? I'd prefer the Jakarta-based converter, but I can't find an artifact for it on Maven.
I suppose a more general question is "which is the recommended XML converter to use with Retrofit?"jw
03/29/2023, 3:14 PMjw
03/29/2023, 3:14 PMRyan Smith
03/29/2023, 3:18 PMjw
03/29/2023, 3:18 PMRyan Smith
03/29/2023, 3:18 PMjw
03/29/2023, 3:19 PMRyan Smith
03/29/2023, 3:19 PMjw
03/29/2023, 3:21 PMRyan Smith
03/29/2023, 3:22 PMRyan Smith
03/29/2023, 3:25 PMjw
03/29/2023, 4:14 PMRyan Smith
03/29/2023, 4:18 PMRyan Smith
03/29/2023, 4:18 PMasConverterFactory from this dependency?
"com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"jw
03/29/2023, 4:23 PMjw
03/29/2023, 4:24 PMRyan Smith
03/29/2023, 4:24 PMRyan Smith
03/29/2023, 4:33 PMkotlinx.serialization.
Here's the short version:
org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
File being compiled: /home/rsmit/repos/github/koji-buildroot-resolver/src/jvmMain/kotlin/data/net/xmlrpc/MethodCall.kt
The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:49)Ryan Smith
03/29/2023, 4:44 PMRyan Smith
03/29/2023, 5:09 PMjw
03/29/2023, 5:29 PMRyan Smith
03/29/2023, 5:32 PMjw
03/29/2023, 5:33 PMjw
03/29/2023, 5:33 PMRyan Smith
03/29/2023, 5:34 PMRyan Smith
03/29/2023, 5:34 PMRyan Smith
03/29/2023, 5:34 PMjw
03/29/2023, 5:36 PMRyan Smith
03/29/2023, 5:37 PMjw
03/29/2023, 5:37 PMRyan Smith
03/29/2023, 5:39 PMRyan Smith
03/29/2023, 5:56 PMXmlSerialName one must provide a value for namespace and prefix even if they're empty strings.
@XmlSerialName("methodCall", "", "") instead of @XmlSerialName("methodCall")Ryan Smith
03/29/2023, 5:57 PMERROR_EXPR 'Stub expression for default value of namespace' type=kotlin.StringKirill Grouchnikov
03/29/2023, 6:04 PMjw
03/29/2023, 6:17 PMKirill Grouchnikov
03/29/2023, 6:19 PMKirill Grouchnikov
03/29/2023, 6:21 PMRyan Smith
03/29/2023, 6:22 PMKirill Grouchnikov
03/29/2023, 6:22 PMjw
03/29/2023, 6:23 PMRyan Smith
03/29/2023, 6:24 PMkotlinx.serialization came upKonstantin Tskhovrebov
03/29/2023, 7:07 PMRyan Smith
03/31/2023, 4:33 PMlink: Stirng? but don't see any corresponding configuration for handling nulls. Are fields like link only null if they are omitted? If something like <link>null</link> appears in the XML?Ryan Smith
03/31/2023, 4:34 PMnil is a possible value, and I'm not seeing a way to configure my XmlFormat to handle that as nullRyan Smith
03/31/2023, 5:02 PM<nil/> , which I can represent with an object.