W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2010

[Bug 9808] [FO] fn:QName $paramUri need not be a valid xs:anyURI

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Aug 2010 12:39:49 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Ogzjh-0008AN-4U@jessica.w3.org>

--- Comment #4 from Tim Mills <tim@cbcl.co.uk>  2010-08-05 12:39:48 ---
There is also a related issue in fn:base-uri.

declare base-uri 'http://www.example.org/';

let $x := <x xml:base="%gg" />
return base-uri($x)

In XQuery 1.0: An XML Query Language, Content

# base-uri is set to the following value:

   1.      If the constructed node has an attribute named xml:base, then the
value of this attribute, resolved if it is relative against the base URI in the
static context. The value of the xml:base attribute is normalized as described
in [XML Base].
   2.      Otherwise, the value of the base URI in the static context.

I can't put my finger on anything in XQuery which says that 

declare base-uri 'http://www.example.org/';

<x xml:base="%gg" />

will raise an error before we hit the call to base-uri.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 5 August 2010 12:39:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:31 UTC