- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 15 Sep 2006 16:13:23 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3731 ------- Comment #3 from frans.englich@telia.com 2006-09-15 16:13 ------- Here's the XQTSCatalog.xml entry for version_declaration-001 in CVS(I believe the catalog in the 1.0 release is identical): <test-case is-XPath2="false" name="version_declaration-001" FilePath="Expressions/PrologExpr/VersionProlog/" scenario="standard" Creator="Pulkita Tyagi"> <description>Demonstrates version declaration,the version.</description> <spec-citation spec="XQuery" section-number="4.1" section-title="Version Declaration" section-pointer="id-version-declaration"/> <query name="version_declaration-001" date="2005-10-05"/> <input-file role="principal-data" variable="input-context">emptydoc</input-file> <output-file role="principal" compare="Text">version_declaration-001.txt</output-file> <expected-error>*</expected-error> </test-case> Notice this line: <output-file role="principal" compare="Text">version_declaration-001.txt</output-file> This means there is a base line(something to compare the test result against) in file version_declaration-001.txt which should be compared with the Text method. Guidelines for Running the XML Query Test Suite says: 'Text: Same comparison as "XML fragment".' Low level details of the XML format is documented in XQTSCatalog.xsd(although I agree it can be more extensive). See the global type QueryErrorCode. So no, '*' does not mean no error code is acceptable, but that one error code that is any error code is acceptable. Thanks for asking, I hope it helps.
Received on Friday, 15 September 2006 16:13:40 UTC