schierlm / BibleMultiConverter

Converter written in Java to convert between different Bible program formats
Other
124 stars 33 forks source link

Trouble Converting Beblia XML Format #91

Open davidicharp opened 1 week ago

davidicharp commented 1 week ago

I am trying to convert Beblia XML to a standard Zenfania XML, but keep getting error messages. I tried every XML input setting and nothing works. The same error message appears when ZefaniaXMLRoundtrip is selected as the export setting.

Here is the links to the two files I am trying to convert: https://github.com/Beblia/Holy-Bible-XML-Format/blob/master/EnglishCSBBible.xml https://github.com/Beblia/Holy-Bible-XML-Format/blob/master/EnglishAmplifiedBible.xml

java -jar BibleMultiConverter.jar RoundtripXML amp.xml RoundtripXML amp2.xml

WARNING: Schema validation failed: [Error] org.xml.sax.SAXParseException; systemId: file:/C:/Users/hallelujah/Desktop/Bible%20Converter/amp.xml; lineNumber: 2; columnNumber: 120; cvc-elt.1.a: Cannot find the declaration of element 'bible'. WARNING: Parsing anyway after validation errors Exception in thread "main" javax.xml.bind.UnmarshalException

schierlm commented 1 week ago

As input format, use BebliaXML, and as export format ZefaniaXML.

Note that the latest binary release does not contain the BebliaXML import filter yet, so if you don't want to compile the code from the github repo, take the nightly version from https://nightly.link/schierlm/BibleMultiConverter/workflows/main.yaml/master/BibleMultiConverter-AllInOneEdition-Release.zip

Hope this helps. If not, please post the error when using this input format.