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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9808





--- 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, 3.7.1.3 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