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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29398

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
document-uri(X) is required to return a URI u such that doc(u) is X. It has
nothing to do with base URI. I guess one could invent some algorithm whereby
dynamically-generated documents have a unique document-uri generated, and this
document-uri/document pair is dynamically added to the set of Available
Documents in the dynamic context. This might just about be conformant, but it's
certainly not the way things are intended to work. 

XDM ยง5.4 says "The dm:document-uri accessor returns the absolute URI of the
resource from which the Document Node was constructed", and in this test case
there is no such resource or URI, so document-uri() should be null/empty.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 28 January 2016 14:42:15 UTC