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

Attribute result is broken into text #357

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

Attribute result is broken into text #357

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

Comments

@AirQuick
Copy link
Member

	<x:scenario label="Test">
		<x:call function="one-or-more">
			<x:param select="elem1 | elem2/attribute()">
				<elem1>text</elem1>
				<elem2 attr="attr-val" />
			</x:param>
		</x:call>
		<x:expect label="Fail deliberately" />
	</x:scenario>

The result XML:

      <x:result select="/node()">
         <elem1>text</elem1>attr-val</x:result>

The attribute is incorrectly converted to a text node.

@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