QT4 CG Dashboard

These are the open pull requests and current branches. Where possible, a summary of the changes between the pull request or branch and the latest drafts is provided with a DeltaXignia pipeline.

Pull requests in descending order

PR #3109: 2791 Cross-spec links to 4.0 targets

Pull request #3109 by ChristianGruen.

@ndw Could you have a look at this? Would you do it the same/is it okay to use `location.replace` to preserve the fragment id? Closes #2791

Changed files
  • build.gradle.kts
  • buildSrc/src/main/kotlin/redirect-plugin.kt
  • style/xmlspec-2016.xsl
  • style/xsl-query-2016.xsl

PR #3107: 3023 Editorial notes, November 2026

Pull request #3107 by ChristianGruen.

Another ·•● exciting ●•· round of editorial changes (volunteers for December are welcome!). I assume it takes too long to review all details, but I’m optimistic it improves the status quo. Maybe the most interesting part is the addition of a large number of new XQFO examples. Closes #3023

Changed files
  • specifications/expath-binary/src/binary-functions.xml
  • specifications/expath-binary/src/function-catalog.xml
  • specifications/expath-file/src/function-catalog.xml
  • specifications/xpath-datamodel-40/src/xpath-datamodel.xml
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xpath-functions-40/src/xpath-functions.xsd
  • specifications/xquery-40/src/back-matter.xml
  • specifications/xquery-40/src/conformance.xml
  • specifications/xquery-40/src/ebnf.xml
  • specifications/xquery-40/src/errors.xml
  • specifications/xquery-40/src/expressions.xml
  • specifications/xquery-40/src/introduction.xml
  • specifications/xquery-40/src/mime-type.xml
  • specifications/xquery-40/src/ns-xquery.xml
  • specifications/xquery-40/src/query-prolog.xml
  • specifications/xquery-40/src/xpath-backwards-compat.xml
  • specifications/xquery-40/src/xpath.xml
  • specifications/xquery-40/src/xquery.xml
  • specifications/xslt-40/src/function-catalog.xml
  • specifications/xslt-40/src/xslt.xml
  • specifications/xslt-streaming-40/src/xslt-streaming.xml

PR #3103: 3102 Labeled record types: remaining glitches

Pull request #3103 by ChristianGruen.

Good observations… and I found some more: * Constructor functions: parameters without a default value come first, then those with one. This keeps derived record types valid (the `geo:place` example now follows from the rules). * Record extension: inherited fields also count for coercion and casting, not just for the constructor. * Fixed fields: a record of a base type can now be coerced or cast to a derived type. Its fixed fields get the values of the target type. A plain map still cannot supply a fixed field. * `but with`: now works for records with fixed fields. Their values are kept, and a fixed field in the second operand is still rejected. * Integrity constraints: a violation raises the new dynamic error XPDY0156 instead of XPTY0004, so it can be caught with try/catch. The constraints of base types are checked as well. If the predicate itself raises an error, that error is passed on. * Default values of fields are coerced to the field type, as for function parameters. * Examples added. * Editorial: “static” → “fixed”, typos, `R1` → `M1`, … (makes some observations in #3023 obsolete) Closes #3102 Tests: https://github.com/qt4cg/qt4tests/pull/529

Changed files
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xquery-40/src/errors.xml
  • specifications/xquery-40/src/expressions.xml
  • specifications/xquery-40/src/query-prolog.xml
  • specifications/xslt-40/src/xslt.xml

PR #3101: 2917 Drop implementation-defined appendices

Pull request #3101 by ChristianGruen.

This PR proposes to simplify our life by dropping the list. It’s always possible to look for ·implementation-defined· features in the full text. If we decide to keep it, though… It was not much effort to create this PR. Most of the time that I spent was to make sections visible in the rules that would have completely disappeared otherwise. Closes #2917

Changed files
  • specifications/xpath-datamodel-40/src/xpath-datamodel.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xquery-40/src/back-matter.xml
  • specifications/xquery-40/src/conformance.xml
  • specifications/xquery-40/src/ebnf.xml
  • specifications/xquery-40/src/expressions.xml
  • specifications/xslt-40/src/function-catalog.xml
  • specifications/xslt-40/src/xslt.xml
  • specifications/xslt-streaming-40/src/xslt-streaming.xml
  • specifications/xslt-xquery-serialization-40/src/serialization-parameters.xml
  • specifications/xslt-xquery-serialization-40/src/xslt-xquery-serialization.xml

PR #3100: 2923 Idempotent coercion

Pull request #3100 by ChristianGruen.

If a value is an instance of a type, coercion to that type now returns it unchanged. This means as a result that function parameter types are now *invariant*: Functions with more general parameter types no longer match, but can still be coerced. I was surprised at how much code we would be able to remove from our implementation if we decided to get rid of contravariance. Which no one understood anyway whenever I tried to explain it (could have been my fault, though). Closes #2923 Tests: https://github.com/qt4cg/qt4tests/pull/527

Changed files
  • specifications/xquery-40/src/back-matter.xml
  • specifications/xquery-40/src/expressions.xml

PR #3099: 3098 Clarify rules for data types in element-to-map()

Pull request #3099 by michaelhkay.

In particular, clarify how sections §14.6.3 and §14.6.9 relate to each other. This clarification means that some test cases need to change: as far as I can see these test cases did not reflect the Jan 2026 version of the spec. Fix #3098

Changed files
  • specifications/xpath-functions-40/src/xpath-functions.xml

PR #3076: 2935A: Default function options in the static context

Pull request #3076 by michaelhkay.

Addresses part of issue 2935 by allowing defaults for function options to be taken from the static context. Currently defined for XSLT only, but if favourably received I will add syntax for xquery, probably along the lines `declare default options fn:doc {'dtd-validation': true()}` A difficulty is that XQuery has no equivalent to XSLT's static expressions.

Changed files
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xquery-40/src/expressions.xml
  • specifications/xslt-40/src/element-catalog.xml
  • specifications/xslt-40/src/xslt.xml

PR #2981: 2980 Adaptive serialization: modes

Pull request #2981 by ChristianGruen.

…later than “next minutes”, but it’s online now. Closes #2980

Changed files
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xslt-40/src/element-catalog.xml
  • specifications/xslt-40/src/schema-for-xslt40.xsd
  • specifications/xslt-40/src/xslt.xml
  • specifications/xslt-xquery-serialization-40/src/schema-for-serialization-parameters.xsd
  • specifications/xslt-xquery-serialization-40/src/serialization-parameters.xml
  • specifications/xslt-xquery-serialization-40/src/xslt-xquery-serialization.xml

PR #2247: 716 Deferred Evaluation in XPath - the f:generator record

Pull request #2247 by dnovatchev.

This PR introduces the notion of deferred evaluation and presents the tool to achieve this - the built-in named record type `f:generator`. - Two major use cases are presented. - The fields of `f:generator` are defined. - All system-provided methods of `f:generator` are defined. - Examples of using each of the methods of `f:generator` are provided. - The formal equivalents of each of the system-provided methods of `f:generator` are provided in a separate appendix. <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/65d04952-794f-4a81-ae64-c96217a9812d" />

Changed files
  • schema/xsl-query.dtd
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml