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

Open
AirQuick opened this issue Sep 12, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@AirQuick
Copy link
Member

commented Sep 12, 2018

<?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 AirQuick added the bug label Sep 12, 2018

AirQuick added a commit that referenced this issue Mar 16, 2019

@AirQuick

This comment has been minimized.

Copy link
Member Author

commented Mar 16, 2019

Reopening for XQuery

@AirQuick AirQuick reopened this Mar 16, 2019

@AirQuick AirQuick referenced this issue Apr 30, 2019

Closed

Release v1.3.0 #563

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.