This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I think there are calls to fn:doc in these which weren't intentional. Here $input-context is a document node. (: Name: preceding-23 :) (: Description: Evaluation of the preceding axis from the last node in the docum ent, :) (: containing only attributes and elements. :) (: insert-start :) declare variable $input-context1 external; (: insert-end :) <result> { (doc($input-context1)//node())[last()]/preceding::node(), empty((doc($input-context1)//node())[last()]/preceding::node()) } </result>
Hmm, I wonder. XQTSCatalog.xml has: <input-URI role="principal-data" variable="input-context1">SmallTree</input-URI> for preceding-22 and <input-URI role="principal-data" variable="input-context1">AttributesAndElements</input-URI> for preceding-23. So $input-context should in these cases be URIs; xs:anyURI or xs:string. The input-URI is not used very extensively, but there are other cases. Maybe you know what's the culprit here?
Ignore me - just an embarrassing bug in our test runner.