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 14279 - [QT3TS] relative paths in test cases
Summary: [QT3TS] relative paths in test cases
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 16:51 UTC by Andrew Eisenberg
Modified: 2012-05-22 20:35 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrew Eisenberg 2011-09-24 16:51:38 UTC
Test case serialize-xml-001 contains the query:

serialize(doc('../docs/atomic.xml'))

I suggest that this document be passed as the context item or as a variable. As written, my test harness would have to find the relative path in the query and adjust it.

This issue is shared by all of the test cases in serialize.xml.
Comment 1 Michael Kay 2012-05-16 21:47:12 UTC
Most of these tests need rewriting anyway because the format of serialization parameters passed to fn:serialize() has changed since the tests were written. I have done a substantial rewrite.