[jboss-jira] [JBoss JIRA] Created: (JBXB-141) xsd:double marshalled in exponential form

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Wed May 14 06:14:26 EDT 2008


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-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

        



More information about the jboss-jira mailing list