Premature end of file error
This file fails in the UCP macro text cleanup step, with a "Premature end of file" error. This stops the conversion in its tracks. I attached a snippet of the docx, as well as the outputs from each step: Here's the error I get in the terminal - any idea what's going on?
converting: 1
Warning at xsl:stylesheet on line 9 column 34 of mark-lists.xsl:
Running an XSLT 2.0 stylesheet with an XSLT 3.0 processor
Warning at xsl:stylesheet on line 7 column 34 of itemize-lists.xsl:
Running an XSLT 2.0 stylesheet with an XSLT 3.0 processor
Warning at /xsl:stylesheet in outline-headers.xsl:
Running an XSLT 2.0 stylesheet with an XSLT 3.0 processor
Type error at char 52 in xsl:sequence/@select on line 314 column 11 of ucp-text-macros.xsl:
XPTY0004: A sequence of more than one item is not allowed as the third argument of
fn:replace() ("$1 ", "s")
at xsl:apply-templates (file:/Users/atheg/Desktop/crawler/header_promotion_strategies/_cleaner/sh_branches/master/XSweet-master-5d1b023c7acf4eb861193b39e85fcc1fc32a455f/scripts/../applications/htmlevator/applications/local-fixup/ucp-text-macros.xsl#188)
processing sequence/splice[3]
at xsl:apply-templates (file:/Users/atheg/Desktop/crawler/header_promotion_strategies/_cleaner/sh_branches/master/XSweet-master-5d1b023c7acf4eb861193b39e85fcc1fc32a455f/scripts/../applications/htmlevator/applications/local-fixup/ucp-text-macros.xsl#156)
processing sequence
in built-in template rule for /html/body[1]/div[1]/p[5]/text()[1] in the unnamed mode
in built-in template rule for /html/body[1]/div[1]/p[5] in the unnamed mode
in built-in template rule for /html in the unnamed mode
A sequence of more than one item is not allowed as the third argument of fn:replace() ("$1 ", "s")
Error on line 1 column 1 of 1-10UCPTEXTED.xhtml:
SXXP0003: Error reported by XML parser: Premature end of file.
org.xml.sax.SAXParseException; systemId: file:/Users/atheg/Desktop/crawler/header_promotion_strategies/_cleaner/sh_branches/master/XSweet-master-5d1b023c7acf4eb861193b39e85fcc1fc32a455f/scripts/../outputs/horton_convs/1-10UCPTEXTED.xhtml; lineNumber: 1; columnNumber: 1; Premature end of file.