Hi,<div><br></div><div>The version number code in JSword's ConfigEntryType.java is no longer valid because some modules no longer have simple N.N version numbers e.g. ESV and NETFree are now 1.0.1, and 2TGreek is 2.5-090514. Therefore the parseFloat test fails for these modules. My suggestion for a fix, given the above examples is either</div>
<div><ol><li>always return true from isAllowed</li><li>return true if version is not empty/null</li><li>add a regexp thet allows 0-9, ., -</li></ol></div><div><br></div><div><div> /**</div><div> * An informational string indicating the current version of the book.</div>
<div> */</div><div> public static final ConfigEntryType VERSION = new ConfigEntryType("Version", "1.0") { //$NON-NLS-1$ //$NON-NLS-2$</div><div><br></div><div> public boolean isAllowed(String aValue) {</div>
<div> try {</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>Float.parseFloat(aValue);</div><div> return true;</div><div> } catch (NumberFormatException e) {</div>
<div> return false;</div><div> }</div><div> }</div></div><div><br></div><div>Kind regards</div><div>Martin</div>