Bug #5030
closed
_0 namespace created from User Extension function
Category:
PHP Extension function
Description
Reported by user issues with the PHP extension mechanism:
- It gives an XML tree where node names are not the ones the PHP extension returned
- with a _0 namespace that we have no idea where it comes from
- XML tree nodes are existing keywords in our XSL, such as other node names or property names, but they are not related to the data that is manipulated by the extension...
The issue is the XdmNode created in the user extension function is from a different SaxonProcessor used in the main PHP program.
Although this is a user issue I have created this bug issue as we can do better in detecting and reporting when a user uses an XdmNode object created from another SaxonProcessor.
- Status changed from New to In Progress
Bug fixed in the NativeCall
class. For the case where the extension function returns XdmNode type I have added a a check for compatible configuration.
Leaving bug issue open until fully tested.
- Status changed from In Progress to Resolved
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 11.1
Bug fix patched in SaxonC 11.1 release
Please register to edit this issue
Also available in: Atom
PDF