[
http://jira.jboss.com/jira/browse/JBXB-141?page=comments#action_12417939 ]
Heiko Braun commented on JBXB-141:
----------------------------------
3.2.3.1 Lexical representation
decimal has a lexical representation consisting of a finite-length sequence of decimal
digits (#x30-#x39) separated by a period as a decimal indicator. An optional leading sign
is allowed. If the sign is omitted, "+" is assumed. Leading and trailing zeroes
are optional. If the fractional part is zero, the period and following zero(es) can be
omitted. For example: -1.23, 12678967.543233, +100000.00, 210.
xsd:double marshalled in exponential form
-----------------------------------------
Key: JBXB-141
URL:
http://jira.jboss.com/jira/browse/JBXB-141
Project: JBoss XML Binding (JBossXB)
Issue Type: Bug
Affects Versions: JBossXB-1.0.0.SP2
Reporter: Darran Lofthouse
Assigned To: Darran Lofthouse
Fix For: JBossXB-1.0.0.SP3, JBossXB-2.0.0.CR10
Values of xsd:double are marshalled using java.lang.Double.toString(), this causes values
to be output in exponential form.
However from the schema specification decimal values should be marshalled as decimal
values separated by a period and preceded by a '-' if negative.
http://www.w3.org/TR/xmlschema-2/#decimal
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira