Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xslt error on <orderedlist continuation="continues"> when not directly following an ordered-list #173

Closed
johanneshhl opened this issue Aug 31, 2022 · 0 comments · Fixed by #175

Comments

@johanneshhl
Copy link

johanneshhl commented Aug 31, 2022

After updating from 1.6.2 we are seeing this ordered-list error, when a list is continued from a not directly preceding ordered-list.

Version: 1.8.0
Message: An empty sequence is not allowed as the first argument of f:orderedlist-startingnumber()

Test case

<?xml version="1.0" encoding="UTF-8"?>
<article xmlns="http://docbook.org/ns/docbook" version="5.1">
    <info>
        <title>Orderedlist error demo</title>
    </info>
    <para>Some text which contains an list 
        <orderedlist numeration="arabic">
            <listitem>
                <para>item 1</para>
            </listitem>
            <listitem>
                <para>item 2</para>
            </listitem>
        </orderedlist> some more text</para>
    <para>Even more text but this list is an continuation of the previous one 
        <orderedlist continuation="continues">
            <listitem>
                <para>item 3</para>
            </listitem>
            <listitem>
                <para>item 4</para>
            </listitem>
        </orderedlist>
    </para>
</article>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant