W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2004

[F&O] fn:doc and fragment-ids

From: Colin Paul Adams <colin@colina.demon.co.uk>
Date: 01 Nov 2004 18:02:52 +0000
To: public-qt-comments@w3.org
Message-ID: <m34qk9la5v.fsf@colina.demon.co.uk>

I'm am confused as to what is supposed to happen if the argument to
fn:doc() includes a fragment-id.

On the one hand, the draft says the argument is an xs:anyURI, passed
as an xs:string, so it is legitimate to include a fragment-id.
On the other hand, the semantics is defined as a mapping of strings
onto DOCUMENT nodes, and a fragment-id cannot point to a document node
(though it might point to a document element).

But the way URIs are mapped onto document nodes is not specified. Does
this mean it is implementation-defined as to whether the fragment-id
is used, or is it an error to include one?
-- 
Colin Paul Adams
Preston Lancashire
Received on Monday, 1 November 2004 18:05:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:37 GMT