- From: <bugzilla@jessica.w3.org>
- Date: Tue, 30 Oct 2012 16:06:14 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19783 Priority: P2 Bug ID: 19783 Assignee: oneil@saxonica.com Summary: Math tests that use namespace prefixes in the assertions QA Contact: public-qt-comments@w3.org Severity: normal Classification: Unclassified OS: Linux Reporter: spungi@gmail.com Hardware: PC Status: NEW Version: Working drafts Component: XQuery 3 & XPath 3 Test Suite Product: XPath / XQuery / XSLT There are several test cases in the 'math' folder where there are prefixes used in the assertions. AFAIK the assertions are to be checked using an 'empty'/'default' environment, not in the same environment where the actual test is run. Something like: <result> <assert-eq>math:pi()</assert-eq> </result> is wrong because the 'math' namespace binding is not defined 'by default'. Below please find a test case example from 'math-atan2' test set: <test-case name="math-atan2-003"> <description>Evaluate the function math:atan2() with the arguments +0.0e0 and -0.0e0</description> <created by="O'Neil Delpratt, Saxonica" on="2010-12-10"/> <environment ref="math"/> <test>math:atan2(+0.0e0, -0.0e0)</test> <result> <assert-eq>math:pi()</assert-eq> </result> </test-case> -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 30 October 2012 16:06:20 UTC