We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d2b44 commit 7d2255fCopy full SHA for 7d2255f
src/test/java/com/fasterxml/jackson/dataformat/xml/failing/MixedContentTreeRead226Test.java
@@ -0,0 +1,16 @@
1
+package com.fasterxml.jackson.dataformat.xml.failing;
2
+
3
+import com.fasterxml.jackson.databind.JsonNode;
4
+import com.fasterxml.jackson.dataformat.xml.XmlMapper;
5
+import com.fasterxml.jackson.dataformat.xml.XmlTestBase;
6
7
+public class MixedContentTreeRead226Test extends XmlTestBase
8
+{
9
+ public void testMixed226() throws Exception
10
+ {
11
+ final String XML = "<root>\n<a>lorem <b>ipsum</b> dolor</a>\n</root>";
12
+ XmlMapper mapper = new XmlMapper();
13
+ JsonNode root = mapper.readTree(XML);
14
+ assertNotNull(root);
15
+ }
16
+}
0 commit comments