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

Subject: Re: [xsl] Sum in conjunction with string splitting?
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 09 Sep 2006 06:58:01 +0100
>>>>> "David" == David Carlisle <davidc@xxxxxxxxx> 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

Current Thread