Project

Profile

Help

Bug #5620

closed

saxon:type function not available in Saxon-PE

Added by Octavian Nadolu over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Low
Category:
Documentation
Sprint/Milestone:
-
Start date:
2022-07-28
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 11, trunk
Fix Committed on Branch:
10, 11, trunk
Fixed in Maintenance Release:
Platforms:

Description

It seems that if I use saxon:type function with Saxon-PE it reports that the function cannot be found.

 Cannot find a 1-argument function named Q{http://saxon.sf.net/}type()

With Saxon-EE it works fine.

The documentation specifies that works with both Saxon PE and EE https://www.saxonica.com/documentation11/#!functions/saxon/type

Actions #1

Updated by Michael Kay over 1 year ago

I'm going to treat this as an error in the documentation. The code paths used to implement this function are very tied up with schema processing and it would be a signficant effort to get it to work under EE. The simpler saxon:type-annotation function meets the requirement, I think, for non-schema-aware environments.

Actions #2

Updated by Debbie Lockett over 1 year ago

  • Category set to Documentation
  • Status changed from New to Closed
  • Assignee set to Debbie Lockett
  • % Done changed from 0 to 100
  • Applies to branch 10, 11, trunk added
  • Fix Committed on Branch 10, 11, trunk added

Documentation fix committed on saxon10, saxon11, and main branches; and Saxon 10 and 11 documentation updated online (HTML and XML versions).

Please register to edit this issue

Also available in: Atom PDF