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

Open
martin-honnen opened this issue Jun 2, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@martin-honnen
Copy link

commented Jun 2, 2019

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

This comment has been minimized.

Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.