schierlm / BibleMultiConverter

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

Error when trying to convert a MyBible module to the word #20

Closed WJSwanepoel closed 5 years ago

WJSwanepoel commented 5 years ago

Hi, When trying to convert MyBible module to theWord I get following error:

C:\MBCTest>java -jar BibleMultiConverter.jar MyBibleZone HSV17.SQLite3 TheWord HSV Exception in thread "main" java.lang.IllegalArgumentException: value is invalid: i { color: %COLOR_BLUE%; } em { color: %COLOR_BLUE%; } a { text-decoration: none; } span.sc { font-variant: small-caps; } span.pn { text-decoration: underline; } span.RTL { direction: rtl; display: inline; } at biblemulticonverter.data.Utils.validateString(Utils.java:32) at biblemulticonverter.data.MetadataBook.setValue(MetadataBook.java:67) at biblemulticonverter.sqlite.format.MyBibleZone.doImport(MyBibleZone.java:157) at biblemulticonverter.Main.main(Main.java:61)

C:\MBCTest>

Can you perhaps assist?

schierlm commented 5 years ago

What version of BibleMultiConverter are you using? The error output does not match the output from latest version (0.0.6).

Also, could you share the input module? I tried with the HSV17 one from http://bible.ph4.ru/ and it converted fine (with lots of warnings, but harmless ones). You can zip the file and attach to this ticket.

For reference, find attached the HSV17 module I converted.

HSV.ont.zip