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 #2220: QT4CG-131-02 Expand on existing example for deconstructed variable bindings

Pull request #2220 by michaelhkay.

Expands on the existing example as actioned in QT4CG-131-02 and QT4CG-131-03. The example turned out to have rather more complexity than I imagined. (Note, it unfortunately contains text that is replicated between the XPath and XQuery specs).

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

PR #2218: 986 Numeric Comparisons

Pull request #2218 by michaelhkay.

Revises the rules for numeric comparisons to use transitive comparison everywhere. Also revises the rules for comparing an untypedAtomic value and a numeric value in a general comparison.

Changed files
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xquery-40/src/back-matter.xml
  • specifications/xquery-40/src/expressions.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