DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6895>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6895 Invalid limitation of value on double Summary: Invalid limitation of value on double Product: Xerces2-J Version: 2.0.0 Platform: PC OS/Version: Windows 9x Status: NEW Severity: Minor Priority: Other Component: XML Schema datatypes AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The W3C Recommendation says that "The basic �value space� of double consists of the values m � 2^e, where m is an integer whose absolute value is less than 2^53, and e is an integer between -1075 and 970, inclusive." I interpret this to mean that '1.0E-1041' should be a valid value. I have this in my schema. <xsd:element name="demoDouble2"> <xsd:simpleType> <xsd:restriction base="xsd:double"> <xsd:pattern value="[0-9].[0-9]{2}E-[0-9]+"/> <xsd:minExclusive value="0.00E-0"/> <xsd:maxInclusive value="0.10E-0"/> </xsd:restriction> </xsd:simpleType> </xsd:element> but this: <demoDouble2>1.02E-1041</demoDouble2> gives me an error: [Error] built- in.xml:12:46: cvc-type.3.1.3: The value '1.02E-1041' of element 'demoDouble2' is not valid. Note that the value '1.02E-200' is okay. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
