Hi,
-- in a WebService response a Smalltalk Float class>>#infinity is encoded as <dictValue xsi:type="xsd:double">+Inf</dictValue>, which is the Smalltalk String representation. But W3C expects this to be <dictValue xsi:type="xsd:double">INF</dictValue> . Am I wrong or ist this a bug in VA Smalltalk 8.03? Excerp from: XML Schema Part 2: Datatypes Second Edition3.2.5.1 Lexical representationdouble values have a lexical representation consisting of a mantissa followed, optionally, by the character "E" or "e", followed by an exponent. The exponent ·must· be an integer. The mantissa must be a decimal number. The representations for exponent and mantissa must follow the lexical rules for integer and decimal. If the "E" or "e" and the following exponent are omitted, an exponent value of 0 is assumed.
The special values
positive
and negative infinity and not-a-number have lexical representations
For example, You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
We agree that it is a bug, and it is still present in 8.6. We've opened case 56092 to address the issue you found.
-- On Thursday, September 4, 2014 5:44:23 AM UTC-4, bonndias wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |