I have a fairly simple pipeline built and am having trouble in the final stages. Everything works fine as long as I am using the normal input stream. I have implemented a simple merge using both XQuery and XSLT. Four input variables/params that specify the input files and then write them to the standard output stream. However, when I try to connect them in to a pipeline they blow up for a variety of reasons. The XSLT did not like some apostrophes that are in a few text nodes and both are throwing errors related to data that is not actually in the input files. Here's an example:
Error: XQUERY processing by XQUERY node 'MergePipelineBranchOutputs.xquery' failed: Error: on line 1 column 1 of MergePipelineBranchOutputs.xquery:
XPST0017 XQuery static error near #...contentpage> </contentpages>')#:
Unknown system function any()
This is indicating a problem at the end of the file, but there is no data in the file beyond that last element. The XSLT is gagging on something similar. Neither gives any useful information about the specific location in the code that is triggering the error.
I've attached both the query and the transform files.
How do I go about troubleshooting this?
MergePipelineBranchOutputs.xquery XQuery file
MergePipelineBranchOutputs.xsl XSLT
|