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

XQFO: Context item → value #970

Closed
ChristianGruen opened this issue Jan 28, 2024 · 0 comments
Closed

XQFO: Context item → value #970

ChristianGruen opened this issue Jan 28, 2024 · 0 comments
Labels
Editorial Minor typos, wording clarifications, example fixes, etc. XQFO An issue related to Functions and Operators

Comments

@ChristianGruen
Copy link
Contributor

Resulting from #129 (related: #755): Many rules in the XQFO spec still refer to the context item, which is currently defined as follows:

When the context value is a single item, it can also be referred to as the context item; when it is a single node, it can also be referred to as the context node.

We need to make clear what’s going to happen if the context value is not a single item:

  • In many cases, this can simply be done by replacing “context item” with “context value”.
  • In some cases (e.g. for fn:string#0), we should specify that an error is raised (usually XPTY0004) if the input is not a single item.
@ChristianGruen ChristianGruen added XQFO An issue related to Functions and Operators Editorial Minor typos, wording clarifications, example fixes, etc. labels Jan 28, 2024
@ChristianGruen ChristianGruen self-assigned this Jan 28, 2024
@ChristianGruen ChristianGruen removed their assignment Jan 29, 2024
@ChristianGruen ChristianGruen added the PR Pending A PR has been raised to resolve this issue label Jan 29, 2024
@ndw ndw closed this as completed in c9e69f8 Feb 6, 2024
@ChristianGruen ChristianGruen removed the PR Pending A PR has been raised to resolve this issue label Mar 26, 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. XQFO An issue related to Functions and Operators
Projects
None yet
Development

No branches or pull requests

1 participant