@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 177 draft minutes #minutes-08-25
Draft minutes published.
Issue #2818 closed #closed-2818
Generalized casts: wildcards, error codes
Issue #2855 closed #closed-2855
2818 Generalized casts: wildcards, error codes
Issue #2819 closed #closed-2819
A step too far: notes
Issue #2856 closed #closed-2856
2819 A step too far: notes
Issue #2853 closed #closed-2853
Default values of function parameters
Issue #2858 closed #closed-2858
2853 Default values of function parameters
Issue #2807 closed #closed-2807
Dynamic node tests: static errors?
Issue #2854 closed #closed-2854
2807 Dynamic node tests: avoid static errors
Issue #2743 closed #closed-2743
Serialization parameters: discrepancies
Issue #2852 closed #closed-2852
2743 Serialization parameters: discrepancies
Issue #2802 closed #closed-2802
Remove function identity?
Issue #2805 closed #closed-2805
2802 Function identity removed
Issue #2703 closed #closed-2703
Dynamic selectors: consistent error handling
Issue #2851 closed #closed-2851
2703 Dynamic selectors: consistent error handling
Issue #2845 closed #closed-2845
csv-to-xml: prose contradicts (broken) pseudo-code
Issue #2857 closed #closed-2857
2845 csv-to-xml: pseudo-code fixed
Issue #2843 closed #closed-2843
Functions available in XSLT
Issue #2859 closed #closed-2859
2843 Add bin and file libraries to XSLT expression context
Issue #2864 closed #closed-2864
2863 Records: drop outdated extensible and required attributes
Pull request #2865 created #created-2865
Updated: 2863 Records: drop outdated extensible and required attributes
This is CG's PR #2864 with the addition of the compiled SCM file.
Pull request #2864 created #created-2864
2863 Records: drop outdated extensible and required attributes
Closes #2863
Issue #2863 created #created-2863
Records: drop outdated `extensible` and `required` attributes
Records have changed; they are not extensible anymore, and all fields are required. The corresponding attributes should e removed.
An example:
<fos:record-type id="uri-structure-record" extensible="false">
<fos:summary>
<p>This record type represents the components of a URI.</p>
</fos:summary>
<fos:field name="uri" type="xs:string?" required="false">
QT4 CG meeting 177 draft agenda #agenda-08-25
Draft agenda published.
Pull request #2862 created #created-2862
2861 Clarify CSV serialization edge cases
Fix #2861
Issue #2861 created #created-2861
Edge cases with CSV serialization
I think there are a few edge cases that aren't covered by the spec, for example what heppens if a string after Unicode normalization contains the quote or separator character?
I would suggest making it simpler, in the interests of being easier to understand and easier to implement, while not affecting any practical use cases. Put each string through the following steps, in order, each applying to the output of the previous step.
- Apply character mapping if requested.
- Apply unicode normalization if requested.
- Normalize line endings.
- Apply quoting to strings that (now) contain special characters.
Note: character mapping was originally designed with the primary use case of manually generating XML markup, which is why the XML output method doesn't interfere with strings generated using character mapping. That justification doesn't apply here.
Issue #2860 created #created-2860
Add a function that converts an absolute URI into a relative URI with respect to a given base
I suggest a new function in the section for "Parsing and building URI". It takes two absolute URIs, and converts one of them to a relative URI with respect to the other URI, if possible.
A usecase could be: Add a reference to an image to a document. The absolute path to the image points to a directory within my document file structure, but i prefer relative references within my document. The new function is related to fn:resolve-uri.
The function takes two URIs called u1 and u2 as input. The result shall be empty, if
- the two URIs differ in
schemeand / orhost, or - any of the URIs contain a
queryand/orfragmentpart, or - any of the URIs is not absolute, or
- there is no common prefix in both
partportions
Otherwise, the result shall be a relative URI r, so that resolve-uri(r, u1) eq u2 holds.
Examples:
relative-uri('file:/a/b/c/d','file:/a/b/c/')givesdrelative-uri(' http://example.com/dir1/dir3/other.html', 'http://example.com/dir1/dir2/page.html')gives../dir3/other.htmlrelative-uri(' http://example.com/dir1/dir3/other.html', 'https://example.com/dir1/dir2/page.html')gives the empty sequence because of different schemes
Greetings, Frank Steimke
Pull request #2859 created #created-2859
2843 Add bin and file libraries to XSLT expression context
Fix #2843
Pull request #2858 created #created-2858
2853 Default values of function parameters
Fix #2853
This resolves the issue as follows:
- In both XSLT and XQuery, the expression defining the default value of a function parameter (for a user-defined function) is evaluated in the same way as the initializing expression of a global variable. We don't constrain the expression, but it has no access to the static or dynamic context of the function caller, and it defines a fixed default that applies to all calls on that function.
- However, as a special case there is provision to define that the context item/value of the caller is used as the default. In XQuery this is done by defining the default using the custom syntax
$node as node() := context value. In XSLT we useselect="current()".
Issue #2850 closed #closed-2850
2802 Replace function identity with function equivalence
See 5918 more statuses in yearly archives.