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

Is the step p:xquery intentionally restricted to XQuery 1.0 and only returning document nodes? #104

Closed
martin-honnen opened this issue Jun 2, 2019 · 1 comment · Fixed by #156
Assignees

Comments

@martin-honnen
Copy link

I have read through the spec and the issues and it seems there has been some intention to update XProc 3 based on XPath 3.1 and XSLT 3; however, the step for XQuery p:xquery in http://spec.xproc.org/master/head/steps/#c.xquery explicitly only names XQuery 1.0 in "The p:xquery step applies an [XQuery 1.0] query" and also restricts the result saying "The result of the p:xquery step must be a sequence of documents. It is a dynamic error (err:XC0057) if the sequence that results from evaluating the XQuery contains items other than documents and elements.".

Is that intentionally or is that step supposed to be updated along the further development of the specs to allow XQuery 3.1 and use of and return of XDM 3.1 sequences (in particular as the main spec in http://spec.xproc.org/master/head/xproc/#documents.9 mentions p:xquery as a potential step creating "new XDM instances")?

@ndw
Copy link
Collaborator

ndw commented Jun 10, 2019

This is an oversight in the step description. Moving this issue to the step repo.

@ndw ndw transferred this issue from xproc/3.0-specification Jun 10, 2019
@xatapult xatapult self-assigned this Jun 27, 2019
xatapult added a commit to xatapult/3.0-steps that referenced this issue Jun 27, 2019
This was referenced Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants