While processing a collection of stylesheets with XSLTDoc 1.2.2, I got the following issue:
Error on line 446 of stylesheet.xsl:
XTTE0590: A sequence of more than one item is not allowed as the value of parameter $doc
(<xd:doc/>, <xd:doc/>, ...)
at xsl:for-each (file:/D:/Users/Jeroen/Documents/eLibrary/Tools/tei2html/tools
/lib/XSLTdoc_1.2.2/xsl/core.xsl#203)
processing config/pagelist[1]/page[11]
at xsl:call-template name="generatePages" (file:/D:/Users/Jeroen/Documents/eLibrary/Tools/tei2html/tools/lib/XSLTdoc_1.2.2/xsl/core.xsl#155)
at xsl:apply-templates (file:/D:/Users/Jeroen/Documents/eLibrary/Tools/tei2html/tools/lib/XSLTdoc_1.2.2/xsl/xsltdoc.xsl#27)
processing /XSLTdocConfig
Transformation failed: Run-time errors were reported
Platform: Windows; XSLT 2.0 processor: Saxon9HE.
The stylesheets I am trying to process are in https://github.com/jhellingman/tei2html (as well as the xsltdoc.config)
I've not yet been able to locate what triggers this.