You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting
MD2Doc: Error with input file: incorrect encoding or missing file
Type error at char 32 in xsl:sequence/@select on line 58 column 123 of md2doc.xsl:
XPTY0004: An empty sequence is not allowed as the first argument of md2doc:convert()
An empty sequence is not allowed as the first argument of md2doc:convert()
The text was updated successfully, but these errors were encountered:
I just realized that the problem seems to be in input parameter. When I tried to provide absolute path then I got expected result.
It seems that there's something wrong with path evaluation in read-file function
Saxon version 9.7
Run command
java -jar lib/saxon9he.jar\ -it:{http://www.markdown2docbook.com/ns/md2doc}main\ -xsl:lib/markdown2docbook-1.0.4/src/md2doc.xsl\ input=hello.md\ encoding=utf-8\ root-element=book\ headline-element=chapter\ savepath=output.xml
hello.md
Getting
MD2Doc: Error with input file: incorrect encoding or missing file
Type error at char 32 in xsl:sequence/@select on line 58 column 123 of md2doc.xsl:
XPTY0004: An empty sequence is not allowed as the first argument of md2doc:convert()
An empty sequence is not allowed as the first argument of md2doc:convert()
The text was updated successfully, but these errors were encountered: