@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

26 May at 17:00:00 GMT

Draft minutes published.

Issue #2659 closed #closed-2659

26 May at 16:42:29 GMT

Binary Module: `bin:count-ones` for counting bits (population)

Issue #2662 closed #closed-2662

26 May at 16:42:28 GMT

2659 bin:count-ones, bin:rotate, bin:is-bit-set, bin:sets-bits

Issue #2617 closed #closed-2617

26 May at 16:39:15 GMT

Duration multiplied or divided by numeric

Issue #2628 closed #closed-2628

26 May at 16:39:14 GMT

2617 Duration multiplied or divided by number

Issue #2642 closed #closed-2642

26 May at 16:37:15 GMT

Allow xsl:analyze-string to use the results of fn:regex

Issue #2646 closed #closed-2646

26 May at 16:37:14 GMT

2642 Add compiled-regex attribute to xsl:analyze-string

Issue #2654 closed #closed-2654

26 May at 16:35:11 GMT

2652 Clarify lax validation

Issue #2651 closed #closed-2651

26 May at 16:33:01 GMT

Editorial, for/let: range variables

Issue #2656 closed #closed-2656

26 May at 16:32:59 GMT

2651 Use termdefs for range variables

Issue #2655 closed #closed-2655

26 May at 16:32:58 GMT

`fn:matching-segments`: empty input

Issue #2658 closed #closed-2658

26 May at 16:32:56 GMT

2655b matching segments empty

Issue #2663 closed #closed-2663

26 May at 16:31:12 GMT

Use standard coercion rules for the name expression in a computed node constructor

Issue #2665 closed #closed-2665

26 May at 16:31:10 GMT

2663 Change computed node constructors to use standard coercion rules

Issue #2661 closed #closed-2661

26 May at 16:29:15 GMT

In element-to-map(), provide an option to substitute a different string for "#content"

Issue #2666 closed #closed-2666

26 May at 16:29:13 GMT

2661 Add content-key option for fn:element-to-map

Issue #2565 closed #closed-2565

26 May at 16:26:54 GMT

`fn:dateTime-record`

Issue #2645 closed #closed-2645

26 May at 16:26:53 GMT

2565 Absent-vs-Empty fields in dateTime-record

Issue #2631 closed #closed-2631

26 May at 16:24:59 GMT

Drop scan-left and scan-right

Issue #2643 closed #closed-2643

26 May at 16:24:58 GMT

2631 Drop scan-left and scan-right

Issue #2648 closed #closed-2648

26 May at 16:22:12 GMT

File Module: editorial notes

Issue #2650 closed #closed-2650

26 May at 16:22:11 GMT

2648 File Module: editorial notes

Issue #2668 created #created-2668

26 May at 16:15:28 GMT
`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-format was 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

25 May at 14:10:00 GMT

Draft agenda published.

Pull request #2667 created #created-2667

25 May at 00:31:12 GMT
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

23 May at 10:29:46 GMT
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

23 May at 09:33:41 GMT
2663 Change computed node constructors to use standard coercion rules

Fix #2663

Issue #2664 created #created-2664

23 May at 08:15:57 GMT
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:

  1. We should have a closer look at the atomization of JNodes (concatenate leaf ·jvalue· items?)
  2. The input type of fn:element-to-map should be extended to document nodes (in alignment with fn:element-to-map-plan)

Issue #2663 created #created-2663

22 May at 18:03:20 GMT
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

22 May at 16:50:39 GMT
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.