This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The test cases: "K2-SeqExprCast-231" and "K2-SeqExprCast-232" from "prod-CastExpr" are missing XSD 1.0 dependency or alternate result for XSD 1.1: <test-case name="K2-SeqExprCast-231"> <description> '+INF' is not a valid value for xs:double.</description> <created by="Frans Englich" on="2007-11-26"/> <test>xs:double("+INF")</test> <result> <error code="FORG0001"/> </result> </test-case> <test-case name="K2-SeqExprCast-232"> <description> '+INF' is not a valid value for xs:float.</description> <created by="Frans Englich" on="2007-11-26"/> <test>xs:float("+INF")</test> <result> <error code="FORG0001"/> </result> </test-case>
I have applied fixes to the test-cases specified. Specifically created two versions of the test-cases with xsd-version 1.0 and 1.1 dependencies, respectively. I am inclined to believe there might be more test-cases like these which also require the same fixes. I will look into this.
O'Neil - it appears you've missed out the <dependency> tags. Also, the description doesn't reflect the test. e.g. t-case name="K2-SeqExprCast-232"> <description> '+INF' is not a valid value for xs:float.</description> <created by="Frans Englich" on="2007-11-26"/> <modified by="O'Neil Delpratt" on="2013-03-20" change="Bug fix for #21263 - added the dependency xsd-version 1.0" /> <test>xs:float("+INF")</test> <result> <error code="FORG0001"/> </result> </test-case> <test-case name="K2-SeqExprCast-232a"> <description>Test dervided '+INF' is not a valid value for xs:float.</description> <created by="Frans Englich" on="2007-11-26"/> <test>xs:float("+INF")</test> <result> <assert-eq>+INF</assert-eq> </result> </test-case>
Thanks Tim. Bug now fixed and committed to cvs.
The fix is incorrect. The value of <assert-eq> must be a valid XPath expression, but +INF is not. Changing to use assert-string-value.