QT4 CG Meeting 191 Minutes 2026-12-01

Meeting index / QT4CG.org / Dashboard / GH Issues / GH Pull Requests

Table of Contents

Summary of new and continuing actions [0/7]

  • [ ] QT4CG-143-02: MK to try to recover the ability to extract formal equivalences into tests
  • [ ] QT4CG-167-07: NW to review tests for interpolated strings with edge cases in mind
  • [ ] QT4CG-170-01: RD to draft a proposal that attempts to address the lexical issues differently.
  • [ ] QT4CG-177-01: NW to put the progress graphs back in the minutes.
  • [ ] QT4CG-182-01: NW to review CG’s diff script
  • [ ] QT4CG-189-01: NW to coordinate Adam joining next week.
  • [ ] QT4CG-191-01: MK to check the XSLT implications of the idempotent coercion proposal
  • [ ] QT4CG-191-02: NW to invite Jirka to come chat about objectives.
  • [ ] QT4CG-191-03: NW to make sure the stable draft question is explicit in the 15 December agenda.

Draft Minutes

1. Administrivia

1.1. Roll call [10/11]

Regrets: JWL.

  • [X] David J Birnbaum (DB)
  • [X] Reece Dunn (RD)
  • [X] Christian Grün (CG)
  • [X] Joel Kalvesmaki (JK)
  • [X] Michael Kay (MK)
  • [X] Juri Leino (JLO)
  • [ ] John Lumley (JWL)
  • [X] Alan Painter (AP)
  • [X] Wendell Piez (WP)
  • [X] Bethan Tovey-Walsh (BTW)
  • [X] Norm Tovey-Walsh (NW), Scribe, Chair.

1.2. Accept the agenda

Proposal: Accept the agenda.

Accepted.

1.3. Approve minutes of the previous meeting

Proposal: Accept the minutes of the previous meeting.

Accepted.

1.4. Next meeting

The next meeting is planned for 8 December.

Proposal: we’ll meet on 8 and 15 December, then take a holiday break, reconvening on 5 January. We will not meet on 22 and 29 December.

Accepted.

1.5. Review of open action items [1/7]

  • [ ] QT4CG-143-02: MK to try to recover the ability to extract formal equivalences into tests
  • [ ] QT4CG-167-07: NW to review tests for interpolated strings with edge cases in mind
  • [ ] QT4CG-170-01: RD to draft a proposal that attempts to address the lexical issues differently.
  • [ ] QT4CG-177-01: NW to put the progress graphs back in the minutes.
  • [ ] QT4CG-182-01: NW to review CG’s diff script
  • [X] QT4CG-187-01: MK to elaborate on the proposal in PR #3031
    • Overtaken by events, MK will submit an alternat proposal.
  • [ ] QT4CG-189-01: NW to coordinate Adam joining next week.
    • Pending: I sent email but haven’t had a reply

1.6. Review of open pull requests and issues

This section summarizes all of the issues and pull requests that need to be resolved before we can finish. See Technical Agenda below for the focus of this meeting.

1.6.1. Blocked

The following PRs are open but have merge conflicts or comments which suggest they aren’t ready for action.

  • PR #3076: 2935A: Default function options in the static context (michaelhkay)
  • PR #2247: 716 Deferred Evaluation in XPath - the f:generator record (dnovatchev)

1.6.2. Merge without discussion

The following PRs are editorial, small, or otherwise appeared to be uncontroversial when the agenda was prepared. The chairs propose that these can be merged without discussion. If you think discussion is necessary, please say so.

  • PR #3116: 2576 JSON Validation (editorial) (michaelhkay)
  • PR #3115: 3110 Clarify what functions are returned by load-xquery-module (michaelhkay)
  • PR #3114: 3112 Arity-0 Constructor Incompatibility (michaelhkay)

Proposal: merge without discussion.

Accepted.

1.6.3. Close without action

It has been proposed that the following issues be closed without action. If you think discussion is necessary, please say so.

  • Issue #2390: methods and inheritance

Proposal: close without further action.

Accepted.

1.6.4. Substantive PRs

The following substantive PRs were open when this agenda was prepared.

  • PR #2981: 2980 Adaptive serialization: modes (ChristianGruen)
  • PR #3076: 2935A: Default function options in the static context (michaelhkay)
  • PR #3096: 3066B [XSLT] Replace JNodes by their jvalue when constructing elements (michaelhkay)
  • PR #3099: 3098 Clarify rules for data types in element-to-map() (michaelhkay)
  • PR #3100: 2923 Idempotent coercion (ChristianGruen)
  • PR #3101: 2917 Drop implementation-defined appendices (ChristianGruen)
  • PR #3103: 3102 Labeled record types: remaining glitches (ChristianGruen)
  • PR #3107: 3023 Editorial notes, November 2026 (ChristianGruen)
  • PR #3108: 3105 Case-insensitive collation units (ChristianGruen)
  • PR #3119: 3118 XQuery, fixed default element namespace (ChristianGruen)
  • PR #3120: 3117 fn:update: editorial revision (ChristianGruen)
  • PR #3121: 3094 Function assertions %public and %private (ChristianGruen)

2. Technical agenda

We did the PRs in ascending order last week, so let’s try descending order this week.

2.1. PR #3071: 3070 Guarded expressions: missing constructs

See PR #3071

Taken from the merge without discussion list.

  • CG: This examples for the predicate truth value rule is a bit unfortunate.
    • This PR removes the rule and the examples
  • CG: Added missing entries to the list.

Proposal: Accept this PR.

Accepted.

2.2. PR #3121: 3094 Function assertions %public and %private

See PR #3121 (ChristianGruen)

  • CG: The current spec doesn’t have clear rules about what happens for instance of checks with %public and %private annotations.
    • … Would be a good idea if you can check if a function is public or private.
  • MK: I’ve never understood what purpose function annotations were intended to fulfill. But making the useful for something seems a reasonable way forward.
  • CG: I thought about adding checks for arbitrary annotations, but it turned out to be too complicated.
  • RD: I thought if a function was declared %private you could only access it within the module where it was declared.
    • … So this wouldn’t be useful for external libraries. Because you can’t get access to the function.
    • … Within a module, you should know which functions are private!
  • MK: There’s nothing to stop you creating a reference to a private function. Now they can discover that it’s private.
  • CG: My main reason for making this possible was that it was contradictory if you have an annotation that’s not checked.
  • JLO: Any function is an instance of a public function even if it doesn’t have an annotation?
  • CG: Yes, because that’s the default.

Some discussion of checking arbitrary annotations.

  • CG: It’s up to the implementation to do all the checks, but I noticed so many corner cases (functions that are passed from partial function application, etc.) so it seemed like it would be too much work.
    • … But it could probably be done if someone was interested.

Proposal: Accept this PR.

Accepted.

2.3. PR #3120: 3117 fn:update: editorial revision

See PR #3120 (ChristianGruen)

  • CG: This is mostly a reaction to MK’s careful review.
    • … This is mostly editorial, but there’s one change about base URIs.
  • MK: There are a few extra details about is-id and base-uri, but it’s mostly editorial.
  • CG: The background is that the function defines three parameters and the second selects the nodes to be modified.
    • … We could extend the second to be a node sequence, but I decided against doing that because the value could be a map or an arry.
    • … That would return either a newly constructed JNode or something that can’t be derived back to the original value.
    • … It’s a little more verbose but the errors will be easier to understand.

Proposal: Accept this PR.

Accepted.

2.4. PR #3119: 3118 XQuery, fixed default element namespace

See PR #3119 (ChristianGruen)

  • CG: This is pretty much a detail.
  • CG: In declare fixed default element namespace, there’s a special case that for the empty namespace, the elements are in no-namespace. I added a few sections to clarify what’s going to happen in this case.

Proposal: Accept this PR.

Accepted.

2.5. PR #3108: 3105 Case-insensitive collation units

See PR #3108 (ChristianGruen)

  • CG: This is about case-insensitive collations. There’s a special case that collation units come from the lower-case values.
  • MK: “May not” should be “might not”, I think.
  • JK: I’m tripping over the phrase “is lower cased to more than one code points”. Is the lowercase “i” two or more codepoints? Or do you mean it could be ambiguous?
  • RD: Converting between lowercase and uppercase is tricky.
    • … The base case is defined in the Unicode data which is a 1:1 mapping.
    • … But the extended set allows mappings to more than one code point.
  • JK: I read this as producing multiple code points.
    • … If we mean to say the dotless “i” with a combining dot, we need to be more explicit about that.

CG to clarify and we’ll revisit next week.

  • RD: The behavior with things like the Turkish “i” are dependent on the language that you apply to the rules. Should we specify that if you don’t specify a language …
  • MK: This is the fn:lower-case function which is language independent.
  • RD: In that case, the Turkish “i” case shouldn’t apply.

2.6. PR #3107: 3023 Editorial notes, November 2026

See PR #3107 (ChristianGruen)

MK and JK have reviewed it.

Proposal: Accept this PR.

Accepted.

2.7. PR #3103: 3102 Labeled record types: remaining glitches

See PR #3103 (ChristianGruen)

  • CG: This is a reaction to MK’s list of proposed improvements.
    • … Some were editorial, there’s nothing specific that needs review.

Proposal: Accept this PR.

Accepted.

2.8. PR #3101: 2917 Drop implementation-defined appendices

See PR #3101 (ChristianGruen)

  • NW: Are we happy to drop them?
  • MK: The history is that an implementor has to list what they do in all of the implementation defined cases.
    • … It’s a task we’ve done in the past. But it’s not much fun.
    • … In principle, if we keep the distinction between implementation-defined and implementation-dependent, then implementors should be able to do it.
  • CG: The prose didn’t always mention what was implementation defined, but now that we have markup in the spec.

Some discussion of the fact that XProc went with inline markup to automatically generate the appendix.

  • WP: It sounds to me like XProc is doing it right. We could have a simple tag.
    • … This is something we could come back to.

Proposal: Accept this PR.

Accepted.

2.9. PR #3100: 2923 Idempotent coercion

See PR #3100 (ChristianGruen)

  • CG: The reason for this PR was a longer discussion instance checks and coercions. We had an inconsistency that whenever you did instance of checks we assumed that no coercion would be required. And if it gave you the result false, you had to do coercion.
    • … That wasn’t fully clear in the specification.
  • CG: There’s also the question of contravariance.
    • … For function items, you have to do the checks in one direction for the items and in the other direction for the parameters.
    • … It complicated all the rules.
  • CG: My approach in the end was to drop contravariance and replace it with invariance. To say that certain types are not instance of checks and you need to do explicit coercions.
  • MK: Is the return type still covariant?
  • CG: I think so; it’s parameter types that are changed by this PR.
  • CG: The main motivation is that it simplifies the code for instance of and coercions a lot and the rules resulted from those simplifications.
  • MK: I’ve reviewed it and I’m happy.
    • … It’s a backwards incompatibility that I don’t think many people will notice.
    • … The functions will still work, it’s only the instance of checks that might return different answers.
    • … I haven’t checked if there are any XSLT implications; there are additional rules there.

ACTION QT4CG-191-01: MK to check the XSLT implications of the idempotent coercion proposal

  • MK: This whole business of having to do function coercion on things is to fix a bug in 3.1. So this change actually makes code more complicated.

Proposal: Accept this PR.

Accepted.

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

See PR #3099 (michaelhkay)

  • MK: This one is pretty simple. I discovered that the rules for elements and attributes were inconsistent which I think was accidental.
    • … It also removes some duplication and redundancy.

MK reviews the diffs.

  • JLO: This is just making sure that the rules already in place are used?
  • MK: Yes, it’s clarifying what I think the intent was. It was inconsistent.

Some discussion of “on” or “off” as boolean values: not in the XSD lexical space.

Proposal: Accept this PR.

Accepted.

2.11. PR #3096: 3066B [XSLT] Replace JNodes by their jvalue when constructing elements

See PR #3096 (michaelhkay)

  • MK: This one is a one liner; it does in XSLT what we we’ve already done in XPath.

Proposal: Accept this PR.

Accepted.

2.12. Stable drafts in December/January?

Do we want to issue another set of stable drafts before the Prague meeting?

  • MK: What about diffs?
  • NW: I’ll try.
  • JK: When do we plan a public review release
  • NW: After the W3C proposes something about moving us to a working group.

ACTION QT4CG-191-02: NW to invite Jirka to come chat about objectives.

  • NW: When are we going to cut a new stable draft? 15 December?

General agreement to do it before Christmas.

ACTION QT4CG-191-03: NW to make sure the stable draft question is explicit in the 15 December agenda.

3. Any other business

None heard.