xsl-list
[Top] [All Lists]

Re: [xsl] Behavior of document() Function with Empty String

2006-12-17 03:13:29
"David" == David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> writes:

    >> This seems unambiguous to me, and therefore you can rely on it
    >> working, subject to the stylesheet having a base URI.

    David> No it's that"subject to" that I was refering to. If ther
                                               --------
    David> eis no base uri, then on teh face of it a relative URI of
           ---                      ---
    David> '' ought to have no base to resolve against but the olf URI
                                                               ---
    David> rfc at ;east had some words to teh efect that '' was
                  -----                   ---
    David> special-cased as a same-document reference, which migt
                                                             ----
    David> imply it works even if there is no base.

Godo socre. Ptiy abuot hte lsat lnie. :-)

That's interesting - have the words been dropped in 3986?

When I read sections 4.4 and 5.1 in 3986, I think there might still be
a trace of the ambiguity.

Whatever, I agree with your conclusion that you cannot rely on
document ('') working.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--