FasterXML / FasterXML/jackson-dataformat-xml
If there are HTML tags within XML tags, @JacksonXmlText will assign incorrect values to the content.
- Dominant language
- Java
- Stars
- 631
- Forks
- 246
- Avg merge
- 7d 9h
- Merged PRs (30d)
- 13
Description
If there are HTML tags within XML tags, the Jackson XML parser will assign incorrect values to the content.
```
@Data
public static class Abstract {
@JacksonXmlElementWrapper(useWrapping = false)
@JacksonXmlProperty(localName = "AbstractText")
private List abstractTextList;
}
@Data
public static class AbstractText {
@JacksonXmlProperty(isAttribute = true)
private String Label;
@JacksonXmlProperty(isAttribute = true, localName = "NlmCategory")
private String category;
@JacksonXmlText
private String value;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.