CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 07:47:50 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:50:22 GMT
cache-control: max-age=2592000, public
expires: Sun, 09 Nov 2025 07:47:50 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c4830c9dd11f95
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: EXPIRED
set-cookie: __cf_bm=ejS.kPvQJiliC1q6ZnLR9Uv.V.CutGsZIKV2sY2bZkg-1760082470-1.0.1.1-oIyx9s8pAys3U5uMQf0I8pcJQ4w8kd5pzJ31uvA7O6dMXofvB8yrUmMKgjrknQmSY.yu6lKMl7Tfj5uTVuWFg9xfO05n0PFEJrtlOIn8n_g; path=/; expires=Fri, 10-Oct-25 08:17:50 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98c4830c9dd11f95-BLR
alt-svc: h3=":443"; ma=86400
[QT] CER-06 xs:string/xs:anyURI from Mary Holstege on 2004-02-15 (public-qt-comments@w3.org from February 2004)
[QT] CER-06 xs:string/xs:anyURI
- From: Mary Holstege <mary@cerisent.com>
- Date: Sun, 15 Feb 2004 11:29:11 -0800
- To: public-qt-comments@w3.org
- Message-ID: <16431.51335.686000.987116@gargle.gargle.HOWL>
Query Lang [Appendix B] xs:string/xs:anyURI Given the lack of a formal derivation relation between xs:string and xs:anyURI, there is a serious usability issue for any function (such as the fn:doc function) that expects a URI as an argument. If the argument is declared as xs:string, users will get type errors if they pass data that happens to be xs:anyURI. Conversely, if the argument is declared as xs:anyURI, users will get type errors if they pass string literals. Either situation is likely to occur in practice. We therefore request that xs:anyURI and xs:string be subject to special promotion rules, such as those applying to xs:float and xs:double to avoid this problem. Specifically: A function that expects a parameter $p of type xs:string can be invoked with a value of type xs:anyURI and a function that expects a parameter $p of type xs:anyURI can be invoked with a value of type xs:string.
Received on Tuesday, 17 February 2004 11:09:58 UTC