Replies: 1 comment 6 replies
-
Have a look at https://github.com/FasterXML/jackson-dataformat-xml?tab=readme-ov-file#usage There is an example of how to set up the XmlMapper to wrap a Woodstox WstxInputFactory. You can configure the WstxInputFactory (also shown in the readme - the example sets P_MAX_ATTRIBUTE_SIZE). I'm not guaranteeing that this config will get you what you want but you could try setting different Woodstox configs. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !!
I need to keep HTML characters in XML Source.
Unfortunately, those are decoded, even before deserialization (p.getText() in deserialization method returns "Hello World!" instead of "Hello World!").
Example :
Main class :
Destination Object :
Custom deserializer :
Could you help me to find a solution to keep encoded HTML characters in XML Source ?
Beta Was this translation helpful? Give feedback.
All reactions