This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
fn:namespace-uri-for-prefix($prefix as xs:string, $element as element ()) as xs:anyURI? and fn:in-scope-prefixes($element as element()) as xs:string* should both accept optional arguments since the parameters may often be passed by expressions which can lead to static type errors. Meaningful results when empty sequence is passed is to return the empty sequence.
Opened one for each function with proposed resolution. *** This bug has been marked as a duplicate of 1470 ***