RE: [xslt] forward and back slashes in URI



Thanks both of you for a quick response!

> This file's URI is file:///f:/somedir/file.xml

I didn't have any luck with a full URI like this.  The canonicalized values
I receive in are in the format
file://f:\somedir\file.xml
which look more like a URL than URI.

I now translate this to 
file://f:/somedir/file.xml
and ignore the file:// part and that seems to work.

(file:///f:/somedir/file.xml also doesn't appear to work, I haven't yet
debugged it).

Since I get these so often and I don't want to write/call filter code in
each place, I'm just going to write a libxml2 input callback to handle the
malformed URIs I receive.

Thanks guys!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]