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 2389 - ForExprType062 is a valid query
Summary: ForExprType062 is a valid query
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mike Rorke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 19:59 UTC by Michael Kay
Modified: 2005-10-20 20:20 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-19 19:59:31 UTC
ForExprType062 is a valid query. Its output is

<?xml version="1.0" encoding="UTF-8"?>
<fs:FileName
xmlns:fs="http://www.example.com/filesystem">File00000000000</fs:FileName>
<fs:FileName
xmlns:fs="http://www.example.com/filesystem">File00000000001</fs:FileName>
<fs:FileName
xmlns:fs="http://www.example.com/filesystem">File00000000002</fs:FileName>

The comments in the test seem to suggest it was written on the assumption that a
node would not match the SequenceType item().
Comment 1 Mike Rorke 2005-10-20 20:20:51 UTC
Updated test to have an expected result instead of an error