Project

Profile

Help

Bug #3378

closed

result-document doesn't handle AVT for method

Added by John Lumley over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2017-08-09
Due date:
% Done:

100%

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

Description

When the method ixsl:[replace|append]-content is formed by an AVT, the SEF uses a role="Q{}method" child to evaluate. The Saxon-JS implementation for resultDoc doesn't use this, just picking info from the @local property and failing to find 'replace-content' assumes 'append-content' .

Actions #1

Updated by Debbie Lockett over 7 years ago

  • Applies to JS Branch 1.0, Trunk added
Actions #2

Updated by Debbie Lockett over 6 years ago

  • Status changed from New to Resolved
  • Assignee changed from John Lumley to Debbie Lockett
  • Fix Committed on JS Branch 1.0, Trunk added

Fix committed on 1.0 and 2.0 branches to handle the case that ixsl:result-document/@method is an AVT. Implementation checks for role="Q{}method" child, and processes this.

Also added a warning for users if the method (however it is supplied) is not recognised. i.e. If the method value is an EQName in the IXSL namespace, then it should be either ixsl:replace-content or ixsl:append-content. If it is not either of these, then now produce a console warning message.

JS unit tests added:

resultDoc/resultDocReplace03

resultDoc/methodWarning01

resultDoc/methodWarning02

Actions #3

Updated by Debbie Lockett over 6 years ago

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

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

Please register to edit this issue

Also available in: Atom PDF Tracking page