File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/main/java/com/fasterxml/jackson/dataformat/xml/ser Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ Project: jackson-dataformat-xml
8
8
9
9
No changes since 2.7.
10
10
11
+ 2.7.8 (not yet released)
12
+
13
+ #210: In `ToXmlGenerator` `WRITE_BIGDECIMAL_AS_PLAIN` is used the wrong way round
14
+ (reported by xmluzr@github)
15
+
11
16
2.7.7 (27-Aug-2016)
12
17
13
18
#204: FromXMLParser nextTextValue() incorrect for attributes
Original file line number Diff line number Diff line change @@ -981,9 +981,9 @@ public void writeNumber(BigDecimal dec) throws IOException
981
981
} else {
982
982
_xmlWriter .writeStartElement (_nextName .getNamespaceURI (), _nextName .getLocalPart ());
983
983
if (usePlain ) {
984
- _xmlWriter .writeDecimal (dec );
985
- } else {
986
984
_xmlWriter .writeCharacters (dec .toPlainString ());
985
+ } else {
986
+ _xmlWriter .writeDecimal (dec );
987
987
}
988
988
_xmlWriter .writeEndElement ();
989
989
}
You can’t perform that action at this time.
0 commit comments