Project

Profile

Help

Bug #2910

closed

After export/import of a stylesheet, use of a named decimal format fails

Added by Michael Kay almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT 3.0 packages
Sprint/Milestone:
-
Start date:
2016-08-27
Due date:
% Done:

0%

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

Description

XSLT 3.0 Test case override-misc-004 fails when run with the -export option. The decimal format named "d" is not found in the reloaded stylesheet package.

Actions #1

Updated by Michael Kay almost 8 years ago

The exported package correctly contains the named decimal format in the inner nested package, but not in the outer package.

The failure occurs when fixing up references within the outer package.

The optimizer-generated global variable containing the call to format-number which references the decimal-format "d" occurs in both packages; the fixup to decimal format "d" in the outer package fails because "d" is not defined in that package. It doesn't seem right that the global variable appears as a component in both packages; other components are not replicated in this way.

Actions #2

Updated by Michael Kay almost 7 years ago

  • Status changed from New to Closed

The test is failing on 9.7 but succeeding on 9.8.

Decided to take no action to fix the 9.7 branch.

Please register to edit this issue

Also available in: Atom PDF