Skip to content

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

@martin-macak

Description

@martin-macak

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

Hello

Just a test

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions