Project

Profile

Help

Bug #2942

closed

Failure to specify -target:JS

Added by Michael Kay over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2016-09-15
Due date:
% Done:

100%

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

Description

If you fail to specify -target:JS when creating an SEF file, there are no obvious failures or error reports, but the stylesheet effectively does nothing because none of the template rules match. There should be clear diagnostics for this simple mistake.

Actions #1

Updated by Debbie Lockett over 7 years ago

  • Status changed from New to Resolved
  • Found in version set to 0.9

Fix applied to JS code, inside checksum.

The check that ~~target:JS was specified uses the metadata (saxonVersion and target) added to the SEF as documented in bug #2948. For backwards compatibility, the check is only applied for SEFs that contain this metadata ~~ i.e. this will be for SEFs generated from Saxon-EE 9.7.0.9 onwards.

Actions #2

Updated by Debbie Lockett over 7 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 0.9.1

Bug fix applied in the Saxon-JS 0.9.1 beta release.

Actions #3

Updated by Community Admin over 6 years ago

  • Fixed in JS Release set to Saxon-JS 0.9.1
  • Applies to JS Branch 0.9 added
  • Fix Committed on JS Branch 0.9 added

Please register to edit this issue

Also available in: Atom PDF Tracking page