Project

Profile

Help

SXST0067: No transmission watch error when trying to select nodes from variable created by copying streamed nodes

Added by Martin Honnen about 7 years ago

I get the error @SXST0067: No transmission watch for $bar/bar[1]@ with @Saxon-EE 9.7.0.15J@ from the command line when trying to use @xsl:copy-of@ on a variable where I collected some nodes during streaming through a secondary input document.

Here are the details of a reduced test case, the XSLT is





	

	

	

	

	
		
			
		
	

	
		
	

	
		
			
				
					
				
			
		
	


the primary input document is




	
		1
	
	
		2
	
	
		3
	

the secondary input document @test201703280201.xml@ is




	1
	2
	a
	3
	4
	b
	5
	6
	7
	8

The aim is to split up the primary input for each @item@ element but incorporating the selected @bar@ elements from the secondary input document.

I have also tried to run the code with the static parameter @STREAMABLE@ set to @0@ but it seems Saxon 9.7 so far does not really implement @xsl:source-document streamable="no"@ .

In Altova XMLSpy (which ignores streamable="yes" as it does not support streaming) the code runs fine and outputs the correct result files.


Replies (1)

RE: SXST0067: No transmission watch error when trying to select nodes from variable created by copying streamed nodes - Added by Martin Honnen about 7 years ago

In the reduced test case, the error goes away and I get the wanted result when I rewrite



as



					
					
					
    (1-1/1)

    Please register to reply