lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
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?




-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message