lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: [jira] Reopened: (LUCENE-587) Explanation.toHtml outputs invalid HTML
Date Sun, 04 Jun 2006 02:10:18 GMT

: Sorry, I think the fix in not correct. Output now starts with "<li>",
: but "<li>" must always be inside "<ul>".

Daniel, I must be missunderstanding your comment, because i can't see nay
situation in which Explanation.toHtml() can ever output an "<li>" tag
except immediately following a "<ul>" tag -- if anything, the recusive
nature of the method means it outputs <ul> tags too often since every list
contains exactly one list item.  (I thought baout changing the method so
it wasn't recursive, but without further discussion i figured the smallest
possible cahnge to produce valid HTML owuld be a better place to start).

Could you perhaps elaborate on your comment with a test case demonstrating
what you mean?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message