Re: [xquery-talk] When to us xs:string or xs:anyURI ?

2019-04-17 Thread Andreas Mixich
On Wed, Apr 17, 2019 at 11:37 AM Michael Kay wrote: > In the standard function library we adopted the approach that for input > parameters, relevant functions should accept xs:string; for function > results, they should return an xs:anyURI. That recognizes the one-way > casting effect. > Okay,

Re: [xquery-talk] When to us xs:string or xs:anyURI ?

2019-04-17 Thread Michael Kay
In the standard function library we adopted the approach that for input parameters, relevant functions should accept xs:string; for function results, they should return an xs:anyURI. That recognizes the one-way casting effect. xs:anyURI is a bit of a mess. XQuery supports it only because it