- From: Sarah Wilkin <swilkin@apple.com>
- Date: Tue, 28 Sep 2004 15:50:06 -0700
- To: Ashok Malhotra <ashok.malhotra@oracle.com>
- Cc: public-qt-comments@w3.org
Thank you, this is acceptable. On Sep 28, 2004, at 2:48 PM, Ashok Malhotra wrote: > Sarah: > We discussed your comment at the joint WG telcon today. > As Michael Kay pointed out in > http://lists.w3.org/Archives/Public/public-qt-comments/2004Sep/ > 0044.html the grammar in RFC 2396 prohibits the zero-length > string but the RFC defines semnatics for it. So, we took the position > that > the zero-length string was, indeed, a valid URI and so it could be > returned. > I'll change some of the wording to make this clear. > > Please let us know if this is satisfactory. > > > All the best, Ashok > > > -----Original Message----- > From: public-qt-comments-request@w3.org > [mailto:public-qt-comments-request@w3.org]On Behalf Of Sarah Wilkin > Sent: Wednesday, September 08, 2004 2:00 PM > To: public-qt-comments@w3.org > Cc: Sarah Wilkin > Subject: [F&O] 14.1.3 fn:namespace-uri can no longer return a string > > > > In F&O 14.1.3, namespace-uri was changed to return an xs:anyURI instead > of an xs:string. The sentence "If $arg is the empty sequence, the > zero-length string is returned" is no longer valid. There may be other > occurrences of this in the document where xs:string was changed to > xs:anyURI. > > In similar cases (11.2.3) the signature is xs:anyURI?. > > So either: > fn:namespace-uri() as xs:anyURI? > fn:namespace-uri($arg as node()?) as xs:anyURI? > > If $arg is the empty sequence, the empty sequence returned. > > or: > fn:namespace-uri() as xs:anyURI > fn:namespace-uri($arg as node()?) as xs:anyURI > > If $arg is the empty sequence, xs:anyURI("") is returned. > > --Sarah > >
Received on Tuesday, 28 September 2004 22:50:39 UTC