This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test fn-lang-2 as written fails because the context item is not set. I suggest changing the test from fn:count(fn:lang(())) to ($input-context1//*)[1]/fn:lang(()) Note that the call on count() is unnecessary: fn:lang(()) will return false.
Or mark context="implicit" for this test case.
Actually the correct version of fn-lang somehow got lost between my production area and the CVS repository. I submitted the correct version this morning, which read as: " (: Name: fn-lang-2:) (: Description: Evaluation of the fn:lang function with testlang set to empty sequence:) (: Uses fn:count to avoid empty file. :) (: insert-start :) declare variable $input-context1 external; (: insert-end :) fn:lang((), $input-context1/langs/para[1])" Thanks, Carmelo