Project

Profile

Help

Bug #6474

open

IllegalArgumentException attempting to resolve a Windows URI with backslashes

Added by Norm Tovey-Walsh 7 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-07-09
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

See https://github.com/xmlresolver/xmlresolver/issues/184

When I use 5.2.3 with Saxon, I got the IllegalArgumentException shown below. This prevents to
upgrade Saxon to 12.5.

PS D:\My_Documents\XML2021\NKBJ\proj\ymc-xml-to-pdf> .\build-db2db.ps1 D:\My_Documents\XML2021\NKBJ\docs\2024-04-18-mc-data\sm\SBBVT0T\xmllist\SBBVT0T-Deployment-Flat.xml  D:\My_Documents\XML2021\NKBJ\docs\2024-04-18-mc-data\sm\SBBVT0T\xmllist\SBBVT0T-expand.xml SM C:/PROGRA~1/Java/jdk-17.0.3.1  D:\My_Documents/Java/SaxonPE12-5J/saxon-pe-12.5.jar
Start expanding entities in XML file
Input file: D:/My_Documents/XML2021/NKBJ/docs/2024-04-18-mc-data/sm/SBBVT0T/xmllist/SBBVT0T-Deployment-Flat.xml
Output file: D:/My_Documents/XML2021/NKBJ/docs/2024-04-18-mc-data/sm/SBBVT0T/xmllist/SBBVT0T-expand.xml
java.lang.IllegalArgumentException: Illegal character in path at index 2: ..\master\glossary\gls.ent
        at java.base/java.net.URI.create(URI.java:906)
        at java.base/java.net.URI.resolve(URI.java:1089)

No data to display

Please register to edit this issue

Also available in: Atom PDF