Project

Profile

Help

Bug #4589

closed

Command line with no -o option: files written to parent of working directory

Added by Michael Kay almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Command line
Sprint/Milestone:
-
Start date:
2020-06-14
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

In the absence of the -o option, if the current working directory is /a/b/c, the a file written using xsl:result-document href="out.xml" is written to /a/b/out.xmlrather than/a/b/c/out.xml`.

Actions #1

Updated by Michael Kay almost 4 years ago

Added test case L-020c to command line tests.

Proposed fix (to be tested): in command.js at line 382, change

transformOptions['baseOutputURI'] = filepathToUri(process["cwd"]());

to

transformOptions['baseOutputURI'] = filepathToUri(process["cwd"]() + "/");
Actions #2

Updated by Michael Kay almost 4 years ago

  • Status changed from New to Resolved
  • Fix Committed on JS Branch Trunk added

Fixed as suggested

Actions #3

Updated by Community Admin about 3 years ago

  • Applies to JS Branch 2 added
  • Applies to JS Branch deleted (2.0)
Actions #4

Updated by Debbie Lockett about 3 years ago

  • Fix Committed on JS Branch 2 added
  • Fix Committed on JS Branch deleted (Trunk)
Actions #5

Updated by Debbie Lockett about 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to Saxon-JS 2.1

Bug fix applied in the Saxon-JS 2.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page