Menu

#2 Error while processing XSLT stylesheets

v1.0 (example)
open
nobody
None
5
2015-03-27
2015-03-27
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.