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

Namespace of the same prefix is dropped from HTML report #467

Closed
AirQuick opened this issue Nov 24, 2018 · 0 comments · Fixed by #470
Closed

Namespace of the same prefix is dropped from HTML report #467

AirQuick opened this issue Nov 24, 2018 · 0 comments · Fixed by #470
Labels

Comments

@AirQuick
Copy link
Member

<x:description stylesheet="do-nothing.xsl" xmlns:x="http://www.jenitennison.com/xslt/xspec">
	<x:scenario label="Testing namespace differences">
		<x:call function="exactly-one">
			<x:param>
				<e1 xmlns="ns1">
					<e2 xmlns="ns2" xmlns:ns3="ns3">
						<ns3:e3 />
					</e2>
				</e1>
			</x:param>
		</x:call>
		<x:expect label="expecting the same structure but in different namespaces">
			<e1 xmlns="ns1">
				<e2 xmlns="ns2!" xmlns:ns3="ns3">
					<ns3:e3 xmlns:ns3="ns3!" />
				</e2>
			</e1>
		</x:expect>
	</x:scenario>
</x:description>

You'll find these snippets in the HTML report

Result

<e1 xmlns="ns1">
   <e2 xmlns:ns3="ns3">
      <ns3:e3 />
   </e2>
</e1>

Expected Result

<e1 xmlns="ns1">
   <e2 xmlns:ns3="ns3">
      <ns3:e3 />
   </e2>
</e1>

and you can't see the difference.

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

Successfully merging a pull request may close this issue.

1 participant