This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The tests trivial-1 and trivial-2 both use the same query trivial-1.xq, and both declare an input-file binding to the variable "input-context". But trivial-1.xq needs an external variable $input-context1. Likewise, the tests trivial-3 and trivial-4 both declare the variable "input-context", and both use trivial-3.xq, which needs $input-context1. None of the queries actually *uses* $input-context1, so I'd just remove the variable declarations.
Per: Thanks for the comment. I think you meant "trvial-1" and "trivial-3". I corrected the typo on the tests. Rather than removing the declaration alltogether I made it consistent with the catalog file as per out history. Marking this item as "FIXED". Please close the bug if in agreement. Thanks, Carmelo
Since the "trivial embedding" has been dropped from the spec, these four tests ought to be removed.
(In reply to comment #1) > Thanks for the comment. I think you meant "trvial-1" and "trivial-3". I > corrected the typo on the tests. Rather than removing the declaration > alltogether I made it consistent with the catalog file as per out history. > Marking this item as "FIXED". Please close the bug if in agreement. I did a 'cvs update' and I don't see the fix.
(In reply to comment #2) > Since the "trivial embedding" has been dropped from the spec, these four tests > ought to be removed. Perhaps. The "trivial embedding" might be a reasonable thing to standardize, but the test-cases are somewhat beside the point. The trivial embeddeding is not a specification for XQuery per se, but rather a specification for how one might encapsulate XQuery inside an XML file. As such I don't see that the tests test for anything real - except that there is a way to evaluate a query passed in as a string.
I double check them again and they look fine. Perhaps Michael is correct, we should remove these tests. Carmelo
(In reply to comment #5) > I double check them again and they look fine. The trivial-{1,3}.xq files are fixed, but the PublicPagesStagingArea/XQTS_current.zip file isn't updated. So I manually copied over trivial-{1,3}.xq and now tests trivial-1 and trivial-3 pass. > Perhaps Michael is correct, we should remove these tests. If you decide to keep the tests, I'll make a point of getting them working. As I said, it doesn't make sense to talk about XQuery implementing trivial embedding; just a matter of the *testsuite* implementing the trivial embedding.
I have removed the test cases for the Trivial XML Embedding Feature.