RE: [F&O, May 2] resolve-QName and get-namespace-uri-for-prefix

> 
> The resolve-QName and get-namespace-uri-for-prefix functions 
> have inconsistent signatures for no good reason:
> 
> resolve-QName(xs:string, element) as xs:QName 
> get-namespace-uri-for-prefix(element, xs:string) as xs:string
> 
> Both should have the element argument in the same position.
> 

I agree, and I would be inclined to use the order (xs:string, element), as
the string is intuitively the primary input, while the element provides
context information. 

Michael Kay

Received on Monday, 2 June 2003 10:59:07 UTC