[Bug 5688] [FO] doc(), doc-available(), and invalid URIs


mike@saxonica.com changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Comment #1 from mike@saxonica.com  2008-06-04 10:51 -------
The WG considered this bug at its meeting on 20 May 2008. The resolution was as

(a) doc-available() should return FALSE if the argument is an empty sequence.

(b) The argument $uri is of type xs:string, so it can never be a valid
xs:anyURI; the intent I think is "if $uri is not castable to xs:anyURI".
Accepted as an editorial change.

(c) The rules for the value space of xs:anyURI are notoriously fuzzy, 
and many implementations exploit this by allowing things that are not strictly 
URIs: Resolved to change "MUST" to "MAY" allowing flexbility of interpreting
xs:anyURI differently in different environments and platforms.

Erratum E26 will be raised to reflect these decisions.

Received on Wednesday, 4 June 2008 10:52:23 UTC