msmid / markdown2docbook

Conversion tool for transforming markdown text files to DocBook/HTML documents. Project is based on XSLT 2.0 technology.
MIT License
21 stars 6 forks source link

XTTE0790: An empty sequence is not allowed as the first argument of md2doc:convert() #56

Open saigkill opened 9 years ago

saigkill commented 9 years ago

Actually i'm using that script:

#!/bin/bash
java  -jar /opt/saxon/saxon9he.jar -it:{http://www.markdown2docbook.com/ns/md2doc}main -xsl:/opt/markdown2docbook-1.0.4/src/md2doc.xsl input=/home/sascha/RubmineProjects/PublicanCreators/CHANGELOG.md encoding=utf-8 root-element=book headline-element=chapter savepath=Changelog.xml

The Input file is that one: https://raw.githubusercontent.com/saigkill/PublicanCreators/master/CHANGELOG.md

After running the script i'm getting the error which is placed in the bugs title.

Maybe you know what happend?

msmid commented 9 years ago

It looks like that XPath Convert function gets empty string from reading the input file, but the file looks allright and it works using other ways to transform it. I'll find why this error occured. Thanks for noticing me!

Meanwhile, you can use online converter on www.markdown2docbook.com/converter