lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Naber (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LUCENE-587) Explanation.toHtml outputs invalid HTML
Date Sun, 04 Jun 2006 10:49:30 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-587?page=all ]
     
Daniel Naber closed LUCENE-587:
-------------------------------

    Resolution: Fixed

Sorry, I must have looked at the wrong output. You're right, it seems to be okay now.


> Explanation.toHtml outputs invalid HTML
> ---------------------------------------
>
>          Key: LUCENE-587
>          URL: http://issues.apache.org/jira/browse/LUCENE-587
>      Project: Lucene - Java
>         Type: Bug

>   Components: Search
>     Versions: 2.0.0
>     Reporter: Trejkaz
>     Assignee: Hoss Man

>
> If you want an HTML representation of an Explanation, you might call the toHtml() method.
 However, the output of this method looks like the following:
> <ul>
>   <li>some value = some description</li>
>   <ul>
>     <li>some nested value = some description</li>
>   </ul>
> </ul>
> As it is illegal in HTML to nest a UL directly inside a UL, this method will always output
unparseable HTML if there are nested explanations.
> What Lucene probably means to output is the following, which is valid HTML:
> <ul>
>   <li>some value = some description
>     <ul>
>       <li>some nested value = some description</li>
>     </ul>
>   </li>
> </ul>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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