Replies: 3 comments 4 replies
-
Just a remark, it's Mixed Content type of xml. |
Beta Was this translation helpful? Give feedback.
-
This is supported, but you'll have to look at the tests for an example: https://github.com/pdvrieze/xmlutil/blob/master/serialization/src/commonTest/kotlin/nl/adaptivity/xml/serialization/MixedValueContainerTest.kt and https://github.com/pdvrieze/xmlutil/blob/master/serialization/src/commonTest/kotlin/nl/adaptivity/xml/serialization/TestMixedTypesafe.kt |
Beta Was this translation helpful? Give feedback.
-
Thks for the hint, here is my code, comments for improvements welcome ;-) 1/ In the policy there is a "pedantic" value, what does it means ? Thks.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to deserialise this xml:
Here is the code:
I successfully get the Tag structure except xml values ("A0 00 00 00 03 10 10" and "VISA CREDIT")
I tried to use the @XmlValue(true) annotation to get the value but I get the exception "Types with an @XmlValue member may not contain other child elements".
Any hit how can I get those values ?
Thks.
Beta Was this translation helpful? Give feedback.
All reactions