Skip to content

An empty sequence is not allowed as the value of variable $this_schemaSpec" #136

@peterstadler

Description

@peterstadler

When trying to create PDF documentation from the current TEI P5 source the following error is returned:

<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- *********************************************************************************************************** -->
<!-- *********************************************************************************************************** -->
<error msg="An empty sequence is not allowed as the value of variable $this_schemaSpec" exclass="class pl.psnc.dl.ege.exception.ConverterException" >pl.psnc.dl.ege.exception.ConverterException: An empty sequence is not allowed as the value of variable $this_schemaSpec
	at pl.psnc.dl.ege.MultiXslConverter.convert(MultiXslConverter.java:109)
	at pl.psnc.dl.ege.component.NamedConverter.convert(NamedConverter.java:44)
	at pl.psnc.dl.ege.ConversionPerformer.run(ConversionPerformer.java:46)
	at java.base/java.lang.Thread.run(Thread.java:829)
</error>

<!-- *********************************************************************************************************** -->

How to reproduce

curl -LO https://vault.tei-c.org/P5/4.9.0/xml/tei/odd/p5subset.xml
curl -X POST -F "[email protected]" https://teigarage.tei-c.org/ege-webservice/Conversions/ODD%3Atext%3Axml/ODDC%3Atext%3Axml/TEI%3Atext%3Axml/odt%3Aapplication%3Avnd.oasis.opendocument.text/pdf%3Aapplication%3Apdf/

I also tested this with the current TEIGarage dev at teigarage.tei-c.de version which returns the same error message.

yet another issue

as @sydb pointed out there's a duplicate XML declaration in the error response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions