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 DeltaXML pipeline.

Pull requests in descending order

PR #1587: 557 Add fn:binary-resource

Pull request #1587 by michaelhkay.

Adds the function `fn:binary-resource` Also fixes some inconstencies in the handling of static/executable base URI in other resource access functions. Fix #557

Changed files
  • specifications/xpath-functions-40/src/fos.xsd
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xquery-40/src/expressions.xml

PR #1586: 1527 Move record types into separate sections

Pull request #1586 by michaelhkay.

Changes the rendition of record type definitions so each is now defined in a section of its own, extracted from the function catalog into the narrative spec by means of a processing instruction, following the precedent of function definitions. Record type definitions can therefore be cross-referenced using a specref, but they are automatically cross-referenced if named in a function signature. Fix #1527

Changed files
  • specifications/xpath-functions-40/src/function-catalog.xml
  • specifications/xpath-functions-40/src/xpath-functions.xml
  • specifications/xpath-functions-40/style/merge-function-specs.xsl

PR #1570: 1550 Replace node-kind() with new type-of() function

Pull request #1570 by michaelhkay.

Drops the newly-introduced `fn:node-kind()` function in favour of a more general function `fn:type-of()`.

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

PR #1505: 1503 Add err:map, err:stack-trace, err:additional to XSLT

Pull request #1505 by michaelhkay.

Fix #1503

Changed files
  • specifications/xslt-40/src/element-catalog.xml
  • specifications/xslt-40/src/xslt.xml

PR #1296: 982 Rewrite of scan-left and scan-right

Pull request #1296 by michaelhkay.

Fix #982 1. The "equivalent expression" is replaced with one that is much shorter and hopefully easier to understand, though hopelessly inefficient as an actual implementation. 2. The result no longer includes the zero value. This seems simpler, and is consistent with other expositions I have read, e.g. of the Scala functions. 3. The signature of scan-left and scan-right is now identical to fold-left and fold-right, which apart from having the virtue of consistency, makes it much easier to specify one in terms of the other. The change is that the callback function now allows a position argument.

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

PR #1283: 77b Update expressions

Pull request #1283 by michaelhkay.

This PR is the result of splitting PR #832 into two parts; this part extracts update expressions into a separate proposal, for ease of review.

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

PR #1227: 150 PR resubmission for fn ranks

Pull request #1227 by dnovatchev.

This is a resubmission of the original [PR 1027 for function fn:ranks](https://github.com/qt4cg/qtspecs/pull/1027). No new changes, this is fixing a pure git-technical issue. Now the PR is submitted from a dedicated feature-branch and not from _master_

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

PR #1062: 150bis revised proposal for fn:ranks

Pull request #1062 by michaelhkay.

This proposal is an amended/alternative proposal for the fn:ranks function, taking into account the work done on the original issue #150 and the PR #1027 and the comments raised. Acknowledgements to the original author for the idea and for a lot of good work on examples etc. It amends the previous proposal as follows: (a) the signature and the semantics are aligned with fn:sort. This adds some functionality (multiple sort keys, ascending/descending) and also removes some complexity (two different collations for comparing input items and result items) (b) the style of exposition is changed editorially for consistency with other functions

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