- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 06 Feb 2008 16:18:05 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5455
Summary: CVS: K2-SeqIDFunc-11 and 12
Product: XML Query Test Suite
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: tim@cbcl.co.uk
QAContact: public-qt-comments@w3.org
To pass static typing, K2-SeqIDFunc-11 and 12 need an exactly-one around the
second argument to fn:id.
fn:id($arg as xs:string*, $node as node()) as element()*
In call to function 'id', expected type 'node()' for argument 2 but found
'(attribute name of type xs:untypedAtomic)*'.
(:*******************************************************:)
(: Test: K2-SeqIDFunc-11 :)
(: Written by: Frans Englich :)
(: Date: 2007-11-22T11:31:21+01:00 :)
(: Purpose: Select elements with xml:id, and trigger node sorting. :)
(:*******************************************************:)
(: insert-start :)
declare variable $input-context1 as document-node(element(*, xs:untyped))
extern
al;
(: insert-end :)
id(("short"), $input-context1//xs:element/@name[. = "positiveInteger"])
Received on Wednesday, 6 February 2008 16:18:13 UTC