Please, is this xml file having any error of any kind.
<?xml version="1.0" encoding="UTF-8" ?>
<?xml -stylesheet href="ol.css" type="text/css" ?>
<song xmnls="http://openlyrics.info/namespace/2009/song>"
<properties>
<titles>
<title>O FOR a thousand tongues to sing</title>
</titles>
<keywords>
<keyword>MHB 1</keyword>
<keyword>O FOR a thousand tongues to sing</keyword>
</keywords>
<copyright>Public Domain</copyright>
<authors>
<author>unknown</author>
</authors>
</properties>
<lyrics>
<verse name="v1">
<lines>
1.O FOR a thousand tongues to sing
My great Redeemer's praise,
The glories ol my God and King,
The triumphs of His grace.
</lines>
</verse>
<verse name="v2">
<lines>
2.My gracious Master and my God,
Assist me to proclaim,abroad
To spread through all the earth
The honours of Thy name.
</lines>
</verse>
<verse name="v3">
<lines>
3.Jesus! the name that charms our fears,
That bids our sorrows cease;
Tis music In the sinner's; ears,
Tis life, and health, and peace.
</lines>
</verse>
<verse name="v4">
<lines>
4.He speaks,and,Listening to His voice,
New life the dead receive,
The mournful,broken hearts rejoice,
The humble poor believe.
</lines>
</verse>
<verse name="v5">
<lines>
5.He breaks the power of cancelled sin,
He sets the prisoner free;
His blood can make the foulest clean,
His blood availed for me.
</lines>
</verse>
<verse name="v6">
<lines>
6.See all your sins on Jesus laid :
The Lamb of God was slain,
</lines>
</verse>
</lyrics>
</song>
I am trying to import this file into openlp using the open lyrics importer in openlp. And when I do so, during the process openlp tells me
xml syntax error. And the song does not import at the end.
Comments
I'm no expert in xml, but here a song exported from openlp that you could use as an example.
<?xml version='1.0' encoding='UTF-8'?>
<song xmlns="http://openlyrics.info/namespace/2009/song" version="0.8" createdIn="OpenLP 2.4.6" modifiedIn="OpenLP 2.4.6" modifiedDate="2020-07-05T18:45:10">
<properties>
<titles>
<title>10,000 Reasons (Bless The Lord)</title>
</titles>
<copyright>hing | w©orshiptogether.com songs (Admin. by EMI Christian Music Publishing) | (Admin. by EMI Christian Music Publishing) | (Admin. by EMI Christian Music Publishing) | (Admin. by EMI Christian Music Publishing) | (Admin. by EMI Christian Music Publishi©n</copyright>
<verseOrder>c1 v1 c1 v2 c1 v3 c1 c1 o1</verseOrder>
<authors>
<author>Jonas Myrin | Matt Redman</author>
</authors>
<songbooks>
<songbook name="SS" entry="6016351"/>
</songbooks>
</properties>
<lyrics>
<verse name="v1a">
<lines>The sun comes up<br/>it's a new day dawning<br/>It's time to sing<br/>Your song again</lines>
</verse>
<verse name="v1b">
<lines>Whatever may pass and whatever lies before me<br/>Let me be singing when the evening comes</lines>
</verse>
<verse name="v2a">
<lines>You're rich in love<br/>and You're slow to anger<br/>Your name is great<br/>and Your heart is kind</lines>
</verse>
<verse name="v2b">
<lines>For all Your goodness<br/>I will keep on singing<br/>Ten thousand reasons<br/>for my heart to find</lines>
</verse>
<verse name="v3a">
<lines>And on that day when<br/>my strength is failing<br/>The end draws near<br/>and my time has come</lines>
</verse>
<verse name="v3b">
<lines>Still my soul will sing Your praise unending<br/>Ten thousand years<br/>and then forevermore</lines>
</verse>
<verse name="c1a">
<lines>Bless the Lord<br/>oh my soul<br/>oh my soul<br/>worship His holy name</lines>
</verse>
<verse name="c1b">
<lines>Sing like never before<br/>oh my soul<br/>I'll worship<br/>Your holy name</lines>
</verse>
<verse name="o1a">
<lines>Worship Your holy name<br/>Lord, I'll worship<br/>Your holy name</lines>
</verse>
<verse name="o1b">
<lines>Sing like never before<br/>oh my soul<br/>I'll worship<br/>Your holy name<br/>Yes I will Worship Your holy name</lines>
</verse>
<verse name="o1c">
<lines>Lord, I'll worship<br/>Your holy name</lines>
</verse>
</lyrics>
</song>
Thanks BillC. With the help of the file you showed me, I found the error. The error was on the third line.