You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2009/08/25 16:21:59 UTC

[jira] Resolved: (XERCESC-1833) float enumeration does not work in some cases

     [ https://issues.apache.org/jira/browse/XERCESC-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1833.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0
         Assignee: Alberto Massari

Changed the constraints for float values from FLT_MIN/FLT_MAX to the values specified in the XMLSchema specs. However, one test from the W3C test suite still fails, as it assumes that 1.4E-45 is valid, but 1 x 2^-149 is 1.40129..E-45. So also the 0 value is treated as a valid enum.

> float enumeration does not work in some cases
> ---------------------------------------------
>
>                 Key: XERCESC-1833
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1833
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: SAX/SAX2
>    Affects Versions: 2.8.0
>         Environment: Fedora 4, and RedHat 8 based system
>            Reporter: Gary Adams
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> 6 files from NIST W3C Schema test suite failed against a Sax2 parser.  All failed files were of the atomic type 'float' and in the enumeration test area.
> The schemas and instances are:
> NISTSchema-SV-II-atomic-float-enumeration-2.xsd
> NISTXML-SV-II-atomic-float-enumeration-2-1.xml
> NISTSchema-SV-II-atomic-float-enumeration-3.xsd
> NISTXML-SV-II-atomic-float-enumeration-3-4.xml
> NISTSchema-SV-II-atomic-float-enumeration-4.xsd
> NISTXML-SV-II-atomic-float-enumeration-4-1.xml
> NISTXML-SV-II-atomic-float-enumeration-4-2.xml
> NISTXML-SV-II-atomic-float-enumeration-4-3.xml
> NISTSchema-SV-II-atomic-float-enumeration-5.xsd
> NISTXML-SV-II-atomic-float-enumeration-5-4.xml 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org