Bug #3378
closedresult-document doesn't handle AVT for method
100%
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' .
Updated by Debbie Lockett over 7 years ago
- Applies to JS Branch 1.0, Trunk added
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
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