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 2387 - ForExprType060 should fail with a type error
Summary: ForExprType060 should fail with a type error
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 18:53 UTC by Michael Kay
Modified: 2005-10-20 19:12 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-19 18:53:10 UTC
ForExprType060 should fail with a type error

The query is

for $test as processing-instruction("compressionUtil") in
($input-context//fs:Folder)[1]//processing-instruction()
return $test

The source document contains

<?filesystem compressionUtil='foozip.exe'?>

This matches the SequenceType processing-instruction("filesystem"), it doesn't
match processing-instruction("compressionUtil")