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 expected result for this test should be 1, not true. (:*******************************************************:) (: Test: K2-LetExprWithout-24 :) (: Written by: Frans Englich :) (: Date: 2007-09-13T16:20:39+01:00 :) (: Purpose: Ensure a name test is reported for using the undefined focus, when a ppearing as a child of a let binding. :) (:*******************************************************:) declare function local:function() { let $b := (i/a) return 1 }; local:function() exactly-one fails in NamespaceURIFromQNameFunc019 because there are two elemQN element in the input data. (: Name: NamespaceURIFromQNameFunc019 :) (: Description: Test function fn:namespace-uri-from-QName. Conditional expressio n as parameter where both branches result in QName value:) declare default element namespace "http://www.example.com/QNameXSD"; (: insert-start :) declare variable $input-context as document-node(element(*, xs:untyped)) externa l; (: insert-end :) fn:namespace-uri-from-QName( if( true() ) then fn:QName("http://www.example.com/urn", exactly-one(xs: string(($input-context/root/elemQN))[1])) else fn:QName("http://www.example.com/urn", exactly-one(xs:string(($inpu t-context/root/@attrQN))[1]))
A fix has been attempted in CVS, XQTS_current.zip is updated. If the resolution is satisfactory, feel free to change status to CLOSED. Otherwise, reopen this report. If no feedback is returned within two weeks, status will be changed to CLOSED. Thanks for reporting!
Thanks.