Project

Profile

Help

Bug #2942

Failure to specify -target:JS

Added by Michael Kay over 1 year ago. Updated 10 months ago.

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

100%

Applies to JS Branch:
0.9
Fix Committed on JS Branch:
0.9
Fixed in JS Release:
SEF Generated with:
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.

History

#1 Updated by Debbie Lockett over 1 year 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.

#2 Updated by Debbie Lockett over 1 year 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.

#3 Updated by Community Admin 10 months 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