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 second argument to fn:lang is statically typed as a zero-or-more sequence, rather than the expected exactly-one argument type. (:*******************************************************:) (:Test: fn-lang1args-1 :) (:Written By: Carmelo Montanez :) (:Date: Tue Apr 12 16:29:03 GMT-05:00 2005 :) (:Purpose: Evaluates The "lang" function :) (: with the arguments set as follows: :) (:$testlang = "en", node with no "xml:lang" attribute :) (:*******************************************************:) (: insert-start :) declare variable $input-context external; (: insert-end :) fn:lang(xs:string("en"),$input-context/root/time)
Hey Tim: Thanks for the message. Fized the tests by removing the static typing dependecies. Thanks, Carmelo