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

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