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

Cannot test function(*) including map and array #355

Closed
AirQuick opened this issue Sep 12, 2018 · 1 comment · Fixed by #380 or #498
Closed

Cannot test function(*) including map and array #355

AirQuick opened this issue Sep 12, 2018 · 1 comment · Fixed by #380 or #498
Labels

Comments

@AirQuick
Copy link
Member

<?xml version="1.0" encoding="UTF-8"?>
<x:description stylesheet="test.xsl" xmlns:x="http://www.jenitennison.com/xslt/xspec"
	xslt-version="3.0">
	<x:scenario label="Function">
		<x:call function="exactly-one">
			<x:param as="function(*)" select="function-lookup(xs:QName('xs:integer'), 1)" />
		</x:call>
		<x:expect label="Fail deliberately" />
	</x:scenario>
</x:description>
...
Running Tests...
Testing with SAXON EE 9.8.0.14
Function
Error at function test:report-atomic-value on line 355 of generate-tests-utils.xsl:
  FOTY0013: Function items (other than arrays) cannot be atomized
Function items (other than arrays) cannot be atomized

*** Error running the test suite

The same or similar termination happens with derivation: map(*) and array(*)

@AirQuick
Copy link
Member Author

Reopening for XQuery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant