W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2016

[Bug 29398] [QT3] Base uri with parse-xml in fn-parse-xml-011

From: <bugzilla@jessica.w3.org>
Date: Sat, 30 Jan 2016 03:35:05 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29398-523-X7QNv85und@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29398

--- Comment #5 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
I think I see it now, I was confusing the document-uri with the base-uri in the
spec texts. That said, we do say that whatever the document-uri is in this case
is implementation-defined:

<quote>
It is ·implementation-defined· whether this guarantee also holds for document
nodes obtained by other means, for example a document node passed as the
initial context node of a query or transformation.
</quote>

So, an implementation could, for instance, use a base-uri equal to the base uri
of the static context and (may) add some kind of uniqueness (say,
generate-id($doc), or whatever) to create an identifiable and unique
document-uri.

I don't agree however that "It is not possible for two distinct documents to
have the same document URI.", simply because I believe the spec says otherwise,
see quote above and in comment#3.

Perhaps that particular Note is not specific enough?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 30 January 2016 03:35:17 UTC

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