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 3371 - combined-errors-1 is missing catalog info
Summary: combined-errors-1 is missing catalog info
Status: VERIFIED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 10:21 UTC by Alberto Massari
Modified: 2006-06-22 11:22 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2006-06-20 10:21:29 UTC
combined-errors-1 is expected to fail if modules are not supported, and to succeed if they are; but, in order to succeed, there must be an entry in the catalog that specified where the "http://www.w3.org/TestModules/defs" module can be found, e.g.

<module namespace="http://www.w3.org/TestModules/defs">module-defs</module>
Comment 1 Carmelo Montanez 2006-06-20 13:25:52 UTC
Alberto:

Thanks, How true.  Added missing "module" element to catalog entry.

Carmelo
Comment 2 Alberto Massari 2006-06-21 10:01:58 UTC
Hi Carmelo,
a new bug appeared once this one got fixed... 
The query contains

  declare variable $input-context external;

but the catalog binds the emptydoc source to the input-context1 variable.
Either the catalog or the query should be updated to make them match.
Comment 3 Carmelo Montanez 2006-06-21 14:51:16 UTC
Alberto:

Easy enough to change the test.  Done.

Thanks,
Carmelo
Comment 4 Alberto Massari 2006-06-21 18:43:28 UTC
Hi Carmelo,
the fix for the external variable name introduces a 'at "moduleDefs-lib.xq"' clause to the 'import module' that makes it fail again.
Can you remove it?

Thanks,
Alberto
Comment 5 Carmelo Montanez 2006-06-21 19:20:26 UTC
Done!

Carmelo