[Bug 10109] [XSLT] fn:document function does not define what to do when base-node has no base URI

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





--- Comment #2 from Michael Kay <mike@saxonica.com>  2010-07-08 14:05:50 ---
You're right that there are some nodes, for example parentless text nodes, that
have no base URI. (In practice, there are whole documents that have no base URI
because they are parsed from an anonymous input stream, but I'm not sure the
specs acknowledge that case.)

We're had the debate about base URIs being relative before, and I don't recall
the outcome. We're very casual about using the term "relative URI", but
technically, a relative reference is not a URI. (And it's not just us: I see
XML Base says "The terms base URI and relative URI are used in this
specification as they are defined in [RFC 3986]." - but the term "relative URI"
is explicitly discouraged in RFC 3986!). My understanding is that the base URI
of a node is always an absolute 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, 8 July 2010 14:05:53 UTC