Commit e88bb7b
committed
In Node, construct proper URI from Path
Sure enough, addressing the deprecation of URL constructors
by substituting URI.toURL() leads to failure on Windows where
Node.installSaxon used to get away with string concatenation
to make a URI from a Path.
Path.toUri() is a bit brain-damaged: it makes an absolute file: URI
even from a relative Path, and it inserts an empty authority instead
of just leaving the authority out. The latter problem is easily dealt
with; installExamples was already doing so. The former we'll put up with
for now.1 parent 02f41ff commit e88bb7b
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
1919 | 1919 | | |
1920 | 1920 | | |
1921 | 1921 | | |
1922 | | - | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1923 | 1925 | | |
1924 | 1926 | | |
1925 | 1927 | | |
| |||
0 commit comments