[ 
https://issues.apache.org/jira/browse/TIKA-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393157#comment-17393157
 ] 

Tim Allison commented on TIKA-2242:
-----------------------------------

The ol/ul misorder was caused by pushing to the list style stack only if the 
name was not null at the start list element but always popping at the end list 
element.

This is what we now get:
{noformat}
<p>Exercice 3</p>
<ol>
  <li><p>tableau des issues : produits des deux dés </p>
    <ul>        
      <li><p>Univers des valeurs : { 
1;2;3;4;5;6;8;9;10;12;15;16;18;20;24;25;30;36}</p></li>
      <li><p>Chaque couple de faces est équiprobable (36 couples), donc on a la 
loi de probabilité :</p></li>
    </ul>
  </li>
</ol>
{noformat}

Will fix annotations next...

> opendocument parsing produces malformed xml
> -------------------------------------------
>
>                 Key: TIKA-2242
>                 URL: https://issues.apache.org/jira/browse/TIKA-2242
>             Project: Tika
>          Issue Type: Bug
>          Components: handler, parser
>    Affects Versions: 1.13, 1.14
>            Reporter: Jan Van Raemdonck
>            Assignee: Tim Allison
>            Priority: Major
>             Fix For: 1.15, 2.0.0
>
>         Attachments: 2017-01-02-16B833-16B833VANCAUTEREN.odt, 
> 2017-02-01-15B96Ghijsens-17B96GHIJSENS.odt, cor-S0BAC21-specimen2.odt, 
> out.xhtml
>
>
> For some odt documents, a malformed xml is produced when parsing. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to