Project

Profile

Help

Bug #5030

_0 namespace created from User Extension function

Added by O'Neil Delpratt 3 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
Normal
Category:
PHP Extension function
Start date:
2021-06-28
Due date:
% Done:

0%

Estimated time:
Found in version:
1.2.1
Fixed in version:

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...

History

#1 Updated by O'Neil Delpratt 3 months ago

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.

#2 Updated by O'Neil Delpratt 3 months ago

  • 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.

Please register to edit this issue

Also available in: Atom PDF