Project

Profile

Help

Bug #4805

closed

Command line: -s option with HTTP or FILE uri

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

Status:
Closed
Priority:
Low
Assignee:
Category:
Command line
Sprint/Milestone:
-
Start date:
2020-10-25
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

If the value of the -s option on the command line starts with "http:" or "https:" or "file:", the code attempts to invoke transform() supplying the sourceFileLocation property in place of the usual sourceFileName. However, sourceFileLocation is misspelled so this cannot work; this presumably also means it is untested.

Actions #1

Updated by Michael Kay about 4 years ago

It should actually be sourceLocation.

Turns out there is a test for this, C06-b, which is reporting success for quite spurious reasons.

Actions #2

Updated by Michael Kay about 4 years ago

  • Category set to Command line
  • Status changed from New to Resolved
  • Applies to JS Branch 2.0, Trunk added
  • Fix Committed on JS Branch Trunk added

Patch committed, tests added/corrected.

Actions #3

Updated by Community Admin almost 4 years ago

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

Updated by Debbie Lockett almost 4 years ago

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

Updated by Debbie Lockett almost 4 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