Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add creation function for csv-row-record type #834

Closed
fidothe opened this issue Nov 15, 2023 · 2 comments
Closed

Add creation function for csv-row-record type #834

fidothe opened this issue Nov 15, 2023 · 2 comments
Labels
Enhancement A change or improvement to an existing feature XQFO An issue related to Functions and Operators

Comments

@fidothe
Copy link
Contributor

fidothe commented Nov 15, 2023

The csv-row-record type used by the CSV XDM mapping provides its fields and an accessor function that can perform field lookup by index or column name. The column names are set when the CSV is parsed. For users who want to make use of csv-row-record (when needing to parse CSVs that fn:parse-csv itself cannot handle out-of-the-box, perhaps) we should provide a creation function that accepts the name: index map and the fields for the row and creates a csv-row-record with a correctly functioning field function entry.

@ChristianGruen ChristianGruen added XQFO An issue related to Functions and Operators Enhancement A change or improvement to an existing feature labels Nov 21, 2023
@michaelhkay michaelhkay added the Propose Closing with No Action The WG should consider closing this issue with no action label Apr 4, 2024
@michaelhkay
Copy link
Contributor

After the changes that have now been made to the CSV family of functions, I don't think this enhancement would add significant value, so I propose dropping it.

@michaelhkay michaelhkay removed the Propose Closing with No Action The WG should consider closing this issue with no action label Apr 11, 2024
@michaelhkay
Copy link
Contributor

The WG agreed to close this with no action on 2024-04-09.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A change or improvement to an existing feature XQFO An issue related to Functions and Operators
Projects
None yet
Development

No branches or pull requests

3 participants