File tree 1 file changed +3
-2
lines changed
src/test/java/com/fasterxml/jackson/dataformat/xml/failing 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import java .beans .ConstructorProperties ;
4
4
5
- import com .fasterxml .jackson .annotation .JsonCreator ;
6
- import com .fasterxml .jackson .annotation .JsonProperty ;
7
5
import com .fasterxml .jackson .dataformat .xml .XmlMapper ;
8
6
import com .fasterxml .jackson .dataformat .xml .XmlTestBase ;
9
7
import com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlProperty ;
10
8
import com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlRootElement ;
11
9
import com .fasterxml .jackson .dataformat .xml .annotation .JacksonXmlText ;
12
10
11
+ // [dataformat-xml#306]: Problem is that `@XmlText` has no nominal property name
12
+ // of empty String (""), and that is not properly bound. Worse, empty String has
13
+ // special meaning so that annotation CANNOT specify it, either.
13
14
public class XmlTextViaCreator306Test extends XmlTestBase
14
15
{
15
16
@ JacksonXmlRootElement (localName = "ROOT" )
You can’t perform that action at this time.
0 commit comments