Closed gyuris closed 8 months ago
The issue is due to the "< ?xml version="1.0" encoding="UTF-8"? >" at the start of each file. This will be fixed. But if you remove that line it will work.
Thanks for the clarification! The import is successfully after removing processing instructions. Please refer to this bug in OpenLP. There can be stylesheet instructions too: Example:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="stylesheets.css" type="text/css"?>
A small comment to 7620c461a4911221f21714af62f8e4c724d2a802. This would be a more general solution.
while (xml.indexOf("<?xml") >= 0) {
xml = xml.split("\n").slice(1, xml.split("\n").length).join("\n")
}
I agree. Didn't think it was necessary, but will implement it.
Thanks for fixing this issue. I will promote the next release when this fix is released. :-).
I try to import OpenLyrics XMLs (in bundles), but FreeShow (1.1.4) does nothing. I got only a "in progress..." popup but no success.
The files, which I try to import is: https://github.com/gyuris/aszaf/releases/download/v1.0.4/Aszaf.csomag.7z
I see that the importer is waiting XML source files. No idea what to do.