W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2006

[Bug 3173] [F+O, DM] A difficulty with document-uri()

From: <bugzilla@wiggum.w3.org>
Date: Tue, 02 May 2006 08:16:53 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Faq3x-0003c4-2s@wiggum.w3.org>

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





------- Comment #2 from mike@saxonica.com  2006-05-02 08:16 -------
>Why not simply require that all document nodes must be mapped in
available-documents?

Because it runs against existing practice. (A) Existing APIs such as JAXP and
System.Xml.Xsl allow you to supply a DOM Document as the value of a parameter
or as the principal input to a transformation, and there is not necessarily any
URI that will return that document. (B) The "mapping" (available-documents) is
traditionally implemented by a user hook (called a URIResolver or XmlResolver)
that takes a URI as input and returns a node as output; the mapping performed
by such a user hook is not intrinsically reversible.
Received on Tuesday, 2 May 2006 08:17:00 UTC

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