[Bug 3486] [XQuery] relative base URI

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





------- Comment #5 from mike@saxonica.com  2006-08-16 17:29 -------
Firstly, there's no implication anywhere in the spec that xml:base in a direct
element constructor should affect the static context of the query. I agree that
because XQuery looks a bit like XML, some people might assume that it behaves
like XML, so it wouldn't do any harm to make this explicit. But I think it's
right that it shouldn't affect the static base URI.

I agree that in both 3.7.1.3 and 3.7.3.1 it would be tidier if computing the
base URI of the new element were done after computing its attributes property,
that is, move rule (b) to somewhere after rule (d).

I don't think any other change is needed: my proposed wording makes it clear, I
think, how a relative base URI is resolved.

Received on Wednesday, 16 August 2006 17:29:51 UTC