<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Would you fill out an issue in Jira? I think I know where in the
code the problem is, but if you'd include a JUnit test case I'll add
that too.<br>
<br>
In Him,<br>
DM Smith<br>
<br>
On 03/21/2011 04:06 PM, Martin Denham wrote:
<blockquote
cite="mid:AANLkTikVpDrnqxhBTNtMq2=ny5i73wKfg+-ag4c6VviP@mail.gmail.com"
type="cite">Hi,<br>
<br>
Some Books like Pilgrim's Progress and Edersheim have keys with
identical names but different parents.<br>
<br>
Here is an example from Pilgrims Progress:<br>
Part I/The First Stage<br>
Part II/The First Stage<br>
<br>
So if I have a key1='The First Stage' (in Part II) and I go
through a list of keys looking for a key that equals key1 I will
arrive at the wrong key.<br>
<br>
I am currently changing my code so that if a TreeKey has a parent
I also compare parents but I was wondering if you think the
KeyTree equals method in JSword should be extended to check
parents.<br>
<br>
If the above isn't clear I can create a simple junit so show the
problem because I may possibly be taking the wrong approach.<br>
<br>
Regards<br>
Martin<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
jsword-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>