Project

Profile

Help

Feature #6109

closed

Give SaxonC XPath API a counterpart to SaxonJ setUnprefixedElementMatchingPolicy

Added by Martin Honnen about 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2023-07-02
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.2
Fixed in version:
12.4
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

For many use cases these days (e.g. HTML5) it is convenient to use the options SaxonJ allows with https://www.saxonica.com/html/documentation12/javadoc/net/sf/saxon/s9api/XPathCompiler.html#setUnprefixedElementMatchingPolicy(net.sf.saxon.s9api.UnprefixedElementMatchingPolicy).

It would be nice to have a counterpart for this in the SaxonC Python API (probably C++ as the underlying API as well).

Actions #1

Updated by O'Neil Delpratt about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to O'Neil Delpratt
  • Found in version set to 12.2

Yes the setUnprefixedElementMatchingPolicy method is handy. I have started working on this but it did not make it in the 12.3 release.

Actions #2

Updated by O'Neil Delpratt 8 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Sorry this slipped my attention. I have now implemented this method across all SaxonC languages (i.e. C++, Python and on PHP).

Actions #3

Updated by O'Neil Delpratt 8 months ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 12.4

Bug fix applied in the SaxonC 12.4 Maintenance release

Please register to edit this issue

Also available in: Atom PDF