- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 14 Feb 2009 18:25:36 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6581
--- Comment #2 from Jin <jin.phd@gmail.com> 2009-02-14 18:25:36 ---
My problem is:
is static-context-1 the XPath2 grammar? Why is-XPath2="true" in the
XQTSCatalog.xml?
static-context-1:
(:*******************************************************:)
(:Test: static-context-1 :)
(:Written By: Carmelo Montanez :)
(:Date: July 12, 2006 :)
(:Purpose: Evaluate error condition XPST0001 :)
(:*******************************************************:)
declare namespace test = 'http://www.example.com';
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
<a/> instance of element(*, test:unknownType)
but in the XQTSCatalog.xml:
<test-case is-XPath2="true" name="static-context-1"
FilePath="Basics/StaticContext/" scenario="runtime-error" Creator="Carmelo
Montanez">
<description>Evaluates an expression relies on some component
of the static context that has not been assigned a value.</description>
<spec-citation spec="XQuery" section-number="2.1.1"
section-title="Static Context" section-pointer="static_context"/>
<query name="static-context-1" date="2006-07-12"/>
<input-file role="principal-data"
variable="input-context1">emptydoc</input-file>
<expected-error>XPST0001</expected-error>
<expected-error>XPTY0004</expected-error>
</test-case>
Why is-XPath2="true"?
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 14 February 2009 18:25:47 UTC