Bug #5995
closedJavadoc for XPathCompiler.setLanguageVersion should mention 4.0 is accepted
100%
Description
As raised by Martin Honnen in a forum topic (https://saxonica.plan.io/boards/3/topics/9383):
For XQuery, the API documentation https://www.saxonica.com/html/documentation12/javadoc/net/sf/saxon/s9api/XQueryCompiler.html#setLanguageVersion(java.lang.String) documents that possible versions are "version - "3.1" or "4.0" in the current Saxon release.".
For XPath, the API documentation https://www.saxonica.com/html/documentation12/javadoc/net/sf/saxon/s9api/XPathCompiler.html#setLanguageVersion(java.lang.String) only mentions "value - One of the values 1.0, 2.0, 3.0, 3.05, 3.1.".
But XPath 4.0 is supported from Saxon 11, so the documentation for XPathCompiler.setLanguageVersion
should be corrected.
Updated by Debbie Lockett over 1 year ago
- Status changed from In Progress to Resolved
- Fix Committed on Branch 11, 12, trunk added
Fix committed on saxon11, saxon12, and main branches: XPathCompiler.setLanguageVersion
javadoc comment updated.
Updated by Debbie Lockett over 1 year ago
Saxon 11 documentation updated online (XML and HTML versions). Saxon 12 documentation will be updated with the next maintenance release.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 12.2 added
Bug fix applied in the Saxon 12.2 maintenance release.
Please register to edit this issue