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 #2246: 2233 Expand xsl:analyze-string; introduce fn:regex-groups()

Pull request #2246 by michaelhkay.

Fix #2233

Changed files
  • specifications/xpath-functions-40/src/analyze-string.xsd
  • specifications/xslt-40/src/function-catalog.xml
  • specifications/xslt-40/src/xslt.xml

PR #2244: Fix bibliographic reference

Pull request #2244 by ndw.

I think the bibliographic reference in ```xml <p>The following types, which were originally defined in <bibref ref="xpath-datamodel-30"/> and were subsequently adopted by <bibref ref="xmlschema11-2"/>: <code>xs:anyAtomicType</code>, <code>xs:dayTimeDuration</code>, <code>xs:yearMonthDuration</code>. </p> ``` Really should be to the 3.0 specification, not the current 4.0 specification. I've fixed that, but left in the bibliographic reference to the current spec.

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

PR #2240: 2237 XSLT impact of multiple schemas

Pull request #2240 by michaelhkay.

Add mentions of multiple schemas in places where the concept is relevant. Drop references from XSLT (and indeed from an appendix of the XPath spec) to parts of the XPath static context that no longer exist, for example statically known documents.

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

PR #2239: First cut at diagrams for JNodes (completes QT4CG-127-01)

Pull request #2239 by ndw.

Here's my first attempt at diagrams for the [8.4 JNodes](https://qt4cg.org/specifications/xpath-datamodel-40/Overview.html#id-JNodes) section in the Data Model. I haven't tried to integrate them into the specification yet, let's see if we think they're correct and useful first. Comments welcome. 1. I've only put labels (R, M1, J1, etc.) on the nodes where they seem useful 2. The arrows are the `dm:j-children`. I've labeled the arrows to show the order. 4. I haven't tried to add pointers from the nodes back to their parent because I think that will just confuse the diagrams 5. The diagrams are SVG, but GitHub didn't like that in the PR description so these are ratty looking PNGs From a JSON parse: <img width="1076" height="575" alt="jgraph" src="https://github.com/user-attachments/assets/fb7bddb6-b406-47ae-80b1-886049da8ff6" /> Arbitrary XDM content <img width="859" height="684" alt="xgraph" src="https://github.com/user-attachments/assets/2b4d14ab-2124-4e4e-8f46-908f8dc17067" />

Changed files
  • specifications/xpath-datamodel-40/image-sources/jgraph.n3
  • specifications/xpath-datamodel-40/image-sources/xgraph.n3
  • specifications/xpath-datamodel-40/images/jgraph.svg
  • specifications/xpath-datamodel-40/images/xgraph.svg
  • specifications/xpath-datamodel-40/src/xpath-datamodel.xml

PR #2231: Updated status section for all documents

Pull request #2231 by michaelhkay.

Changed files
  • specifications/xpath-datamodel-40/src/xpath-datamodel.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xquery-40/src/xquery-header.xml
  • specifications/xslt-40/src/xslt.xml
  • specifications/xslt-xquery-serialization-40/src/xslt-xquery-serialization.xml

PR #2227: 2079 Allow optional prefix in EQName syntax

Pull request #2227 by michaelhkay.

Fix #2079

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

PR #2213: 2047 External resources and security

Pull request #2213 by michaelhkay.

Fix #2047 This is a first draft of a PR that is intended to provide a framework for controlling the trust level for applications to access external resources. Although this is still at draft status, comments are solicited on the general approach.

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

PR #2208: 675 (part) Update XSLT streamability rules

Pull request #2208 by michaelhkay.

I have reviewed the functions in the function catalog, and updated the "usage" properties of their arguments. This attribute drives the construction of the table in XSLT ยง19.8.9. Most of the functions affected are new in 4.0. I have also added some general remarks about use of maps and arrays when streaming, emphasizing that maps and arrays cannot contain streamed nodes. This PR does NOT close issue #675.

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

PR #2205: 2190 Drop binary input for parse-csv and parse-json

Pull request #2205 by michaelhkay.

This PR reverts the change to parse-csv() and parse-json() allowing them to take binary input. The change was made primarily for consistency with parse-xml() and parse-html(). However, those functions have a legitimate reason to accept binary input, because discerning the encoding may be intermingled with parsing in the case of input documents that use custom syntax to define their own encoding. This is not the case for CSV and JSON, where standard decoding tools may be used. In addition, there was no good reason to add the option to parse-csv() and not to csv-to-arrays() or csv-to-xml().

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

PR #2160: 2073 data model changes for JNodes and Sequences

Pull request #2160 by michaelhkay.

This is a first draft of a PR, giving the data model changes only, for a change to the JNode model affecting maps and arrays with sequence-valued entries. A sequence of length 2 or more now has children representing the items in the sequence. Although there is still an asymmetry between sequences of length 1 and longer sequences, it is more manageable than i the previous model.

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

PR #2124: 573 Functions to Construct Trees

Pull request #2124 by michaelhkay.

A first cut at providing a functional approach to XNode and XTree construction. At this stage I'm interested in comments on the general approach, not the fine detail (some of which, e.g. namespace inheritance, still needs work.)

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

PR #2071: 77c deep update

Pull request #2071 by michaelhkay.

Proposes a new fn:update function that can handle both JNodes and XNodes. (this is a branch on a branch, so I don't know how well the diff'ing will work; but look in F&O for the fn:update function)

Changed files
  • specifications/grammar-40/xpath-grammar.xml
  • specifications/image-sources/item-types.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/xquery-40/src/expressions.xml
  • specifications/xslt-xquery-serialization-40/src/xslt-xquery-serialization.xml

PR #2019: 1776: XSLT template rules for maps and array

Pull request #2019 by michaelhkay.

Currently work In progress, committed so that the draft can be reviewed. Changes in three main areas: - Pattern syntax: patterns such as `?item` and `?parent?item` are defined to match items in a map by their key - Built-in template rules for on-no-match="shallow-copy-all". Revisits the built in template rules for this scenario. - General revision of the processing model for xsl:apply-templates applied to a tree of maps and arrays.

Changed files
  • specifications/grammar-40/xpath-grammar.xml
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xslt-40/src/xslt.xml