@qt4cg statuses
This page displays recent status updates about the QT4CG project.
The are also captured in an RSS feed.
By year: 2026, 2025, 2024, 2023, 2022, 2021, 2020
QT4 CG meeting 166 draft minutes #minutes-05-26
Draft minutes published.
Issue #2659 closed #closed-2659
Binary Module: `bin:count-ones` for counting bits (population)
Issue #2662 closed #closed-2662
2659 bin:count-ones, bin:rotate, bin:is-bit-set, bin:sets-bits
Issue #2617 closed #closed-2617
Duration multiplied or divided by numeric
Issue #2628 closed #closed-2628
2617 Duration multiplied or divided by number
Issue #2642 closed #closed-2642
Allow xsl:analyze-string to use the results of fn:regex
Issue #2646 closed #closed-2646
2642 Add compiled-regex attribute to xsl:analyze-string
Issue #2654 closed #closed-2654
2652 Clarify lax validation
Issue #2651 closed #closed-2651
Editorial, for/let: range variables
Issue #2656 closed #closed-2656
2651 Use termdefs for range variables
Issue #2655 closed #closed-2655
`fn:matching-segments`: empty input
Issue #2658 closed #closed-2658
2655b matching segments empty
Issue #2663 closed #closed-2663
Use standard coercion rules for the name expression in a computed node constructor
Issue #2665 closed #closed-2665
2663 Change computed node constructors to use standard coercion rules
Issue #2661 closed #closed-2661
In element-to-map(), provide an option to substitute a different string for "#content"
Issue #2666 closed #closed-2666
2661 Add content-key option for fn:element-to-map
Issue #2565 closed #closed-2565
`fn:dateTime-record`
Issue #2645 closed #closed-2645
2565 Absent-vs-Empty fields in dateTime-record
Issue #2631 closed #closed-2631
Drop scan-left and scan-right
Issue #2643 closed #closed-2643
2631 Drop scan-left and scan-right
Issue #2648 closed #closed-2648
File Module: editorial notes
Issue #2650 closed #closed-2650
2648 File Module: editorial notes
Issue #2668 created #created-2668
`fn:json-to-xml`: drop `number-parser` option
In the past, the number-parser option was added to fn:parse-json and fn:json-to-xml. It has been removed from fn:parse-json again (and replaced by number-format), and I think we should also remove it from fn:json-to-xml:
- In the XML representation, the original JSON representation is adopted 1:1, so the result will be lossless (which is why
number-formatwas not introduced for this function). If really needed, it can be changed in a post-processing step. - It seems much too specific to me, and we don’t have corresponding parser functions for other data types (null, booleans, etc.)
If we keep it, we should fix a typo (“convered”).
QT4 CG meeting 166 draft agenda #agenda-05-26
Draft agenda published.
Pull request #2667 created #created-2667
2458 replacement for get() selectors
Fix #2458
This proposal introduces two changes, which taken together, replace the use of get(expr) in axis steps.
For JNodes, with an expression E1/E2, if E1 selects JNodes and E2 selects atomic values, then the atomic values are matched against the jkey properties of the child JNodes.
More generally, axis::{expr} (for example descendant::{$name} selects nodes on the relevant axis whose name/jkey is equal to the result of evaluating expr.
Pull request #2666 created #created-2666
2661 Add content-key option for fn:element-to-map
Fix #2661
Provides an option to element-to-map() to replace the string "#content" with one of the user's choosing.
Pull request #2665 created #created-2665
2663 Change computed node constructors to use standard coercion rules
Fix #2663
Issue #2664 created #created-2664
JNodes symmetry: atomization, element-to-map
Interesting user feedback (two aspects bundled in a single issue, but my weekly issue creation budget is already exhausted):
Shouldn’t the following query work?
<Name>
<Nachname>Berger</Nachname>, <Vorname>Johann</Vorname>
</Name>
(: XML above as context :)
(: WORKS :) 'Name: ' || string(./Name)
(: FAILS :) 'Name: ' || string(element-to-map(.)/Name)
Observations:
- We should have a closer look at the atomization of JNodes (concatenate leaf ·jvalue· items?)
- The input type of
fn:element-to-mapshould be extended to document nodes (in alignment withfn:element-to-map-plan)
Issue #2663 created #created-2663
Use standard coercion rules for the name expression in a computed node constructor
Computed node constructors currently have custom rules for type coercion of the results of the expression used to compute the node name. The rules are almost equivalent to the coercion rules for a required type of (xs:QName | xs:string) in the case of elements and attributes, or xs:string in the case of namespaces and processing instructions. But they are slightly different, for example they disallow promotion from xs:anyURI. These distinctions serve no useful purpose and prevent implementations reusing common code.
Pull request #2662 created #created-2662
2659 bin:count-ones, bin:rotate, bin:is-bit-set, bin:sets-bits
Closes #2659
I have added three other trivial functions for operations that are cumbersome and inefficient to formulate in XPath: bin:rotate, bin:is-bit-set, bin:sets-bits.
See 5499 more statuses in yearly archives.