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 2509 - ForExprType056 query matches no data
Summary: ForExprType056 query matches no data
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mike Rorke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 18:05 UTC by Alberto Massari
Modified: 2005-12-07 17:15 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2005-11-11 18:05:13 UTC
The query inside ForExprType056 is 

  ($test//fs:Folder)[1]/fs:FileName

but the fs:Folder element in the souce XML doesn't have fs:FileName as a
children; in order to get the expected result it should be

  ($test//fs:Folder)[1]/fs:File/fs:FileName
Comment 1 Mike Rorke 2005-11-15 18:05:26 UTC
Updated query and results to use fs:FolderName instead of fs:FileName