This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3138 - predicates-10 expects incomplete result
Summary: predicates-10 expects incomplete result
Status: VERIFIED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 16:39 UTC by Alberto Massari
Modified: 2006-06-14 18:20 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2006-04-21 16:39:23 UTC
predicates-10 performs this query

($input-context1/atomic:root/atomic:decimal[xs:decimal(.) = 12678967.543233])

on the "atomic" source, and expects

<atomic:decimal xmlns:atomic="http://www.w3.org/XQueryTest" xmlns:foo="http://www.example.com/foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">12678967.543233</atomic:decimal>

But the "decimal" node in the file is defined as

  <atomic:decimal atomic:attr="12678967.543233">12678967.543233</atomic:decimal>   

so the correct result would be

<atomic:decimal xmlns:atomic="http://www.w3.org/XQueryTest" xmlns:foo="http://www.example.com/foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" atomic:attr="12678967.543233">12678967.543233</atomic:decimal>
Comment 1 Carmelo Montanez 2006-04-21 18:58:13 UTC
Alberto:

Correct.  The Schema file was changed at some point and I
did not re-ran the tests that depends on it.  There
may be others.  I will check next week.  You may close the
bug if in agreement.

Thanks,
Carmelo