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

CSV parsing: in call of get($R, $Z), what if $R is out of range #1203

Closed
michaelhkay opened this issue May 11, 2024 · 0 comments · Fixed by #1204
Closed

CSV parsing: in call of get($R, $Z), what if $R is out of range #1203

michaelhkay opened this issue May 11, 2024 · 0 comments · Fixed by #1204
Labels
Editorial Minor typos, wording clarifications, example fixes, etc. PR Pending A PR has been raised to resolve this issue XQFO An issue related to Functions and Operators

Comments

@michaelhkay
Copy link
Contributor

michaelhkay commented May 11, 2024

In the description of the ?get($R, $Z) callback function, it is stated what happens if $Z doesn't identify an actual column (error when $Z is a string, return "" when it is an integer), but it's not stated what happens when $R (the row number) is out of range.

The existing text could also be improved because it talks of "the argument" to the function, when there are two.

The Saxon implementation currently returns "" and I proposed to say that unless anyone objects.

@michaelhkay michaelhkay added XQFO An issue related to Functions and Operators Editorial Minor typos, wording clarifications, example fixes, etc. labels May 11, 2024
@michaelhkay michaelhkay added the PR Pending A PR has been raised to resolve this issue label May 14, 2024
@ndw ndw closed this as completed in #1204 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Editorial Minor typos, wording clarifications, example fixes, etc. PR Pending A PR has been raised to resolve this issue XQFO An issue related to Functions and Operators
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant