xsl-list
[Top] [All Lists]

Re: [xsl] Sum in conjunction with string splitting?

2006-09-09 11:41:54
"David" == David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> writes:

    >> But only if your stylesheet's base-uri path is /, I think:
    David> ..
    >> There should be a leading file:/// before the C:/XSLT/FXSL, I
    >> think.

    David> Not necessarily , C:/XSLT/FXSL is a an absolute URI in the
    David> unregistered URI scheme C, but I think it's conformant for
    David> an xslt engine to support that URI and resolve it to
    David> something, perhaps even something on a windows filesystem
    David> mapped to that drive letter if you are lucky.  as it
    David> doesn't have the scheme:authority//path syntax it can't be
    David> a hierarchical URI so if you used such a URI as a base you

    David> shouldn't be able to resolve relative URI agaisnt that
    David> base, but I think it's OK as an absolute URI isn't it?

Yes, you are quite right - it has a colon so it's an absolute URI.

And Dmitre observes that MSXML4 accepts this - which it's quite
entitled to do.
But others are equally entitled to barf on it, or if they accept it,
not to recognize it as a file URI (which it isn't).
(You could distribute a catalog with such a transformation, which
mapped all C URIs to file:///C: URIs, which wold work if the processor
had in-built support for catalogs (<smug-grin/>), but even this won't
cover all)

So I stand by my original statement.
-- 
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>
--~--