Menu

#582 Remove leading and trailing tags option not working

3.0
closed-fixed
5
2013-06-12
2013-04-28
Yu Tang
No

See attachments in action.
The project has been completed by OmegaT 2.6.
But when I open it by OmegaT 3.0.0, it turned into incomplete.
Number of total segments is on the increase and also remaining segments too.
I cheked file filters options, but they remain default values.
How to keep a finished project be intact in OmegaT 3.0?

1 Attachments

Discussion

  • Yu Tang

    Yu Tang - 2013-04-28

    A screenshot in diff by WinMerge.

     
  • Didier Briel

    Didier Briel - 2013-04-29

    The omegat folder of your project does not contain segmentation.conf and filters.xml, making it very difficult to analyse something.

    Can you repost a project with those files?

    Didier

     
  • Didier Briel

    Didier Briel - 2013-04-29
    • status: open --> pending
     
  • Yu Tang

    Yu Tang - 2013-04-29

    Sorry for missing files.
    Re-post.

     
  • Didier Briel

    Didier Briel - 2013-04-29
    • summary: 3.0 Segmentation is incompatible with previous version --> Remove leading and trailing tags option not working
    • status: pending --> open
    • assigned_to: Alex Buloichik
     
  • Didier Briel

    Didier Briel - 2013-04-29

    Thank you for the files.

    Now that I have the options, it seems that it's not a segmentation issue, but that the option Remove leading and trailing tags is not working as it should.

    I have changed the title accordingly.

    Didier

     
  • Didier Briel

    Didier Briel - 2013-05-09
    • status: open --> open-fixed
     
  • Didier Briel

    Didier Briel - 2013-05-09

    Fixed in SVN (/trunk) for the XML filters.

    The behaviour still has to be fixed in the HTML filter.

    Didier

     
  • Didier Briel

    Didier Briel - 2013-05-10

    The HTML filter is fixed, too.

    Didier

     
  • Didier Briel

    Didier Briel - 2013-05-10
    • labels: Application --> File filters
     
  • Didier Briel

    Didier Briel - 2013-05-13
    • status: open-fixed --> closed-fixed
     
  • Didier Briel

    Didier Briel - 2013-05-13

    Fixed in the released version 3.0.1.

    Didier

     
  • Martin Fleurke

    Martin Fleurke - 2013-06-11

    There still is an incompatibility between 2.6 and 3.1, which seems to be related to   handling. 3.1 strips tags better when there are leading/trailing non-breakable spaces (tested for html filter).

    Examples:
    <p> &nbsp;<input tabindex="100" type="radio" name="P" value="R"> R </p>

    <p><input name="Q" type="checkbox" value="J">
    &nbsp;<span class="x">(blah!)</span></p>

    <p><span class="w" id="1"></span>&nbsp;<span id="2"></span>&nbsp;<span id="3"></span>&nbsp;(blah&nbsp;<span id="4" class="a b"></span>)</p>

     
    • Didier Briel

      Didier Briel - 2013-06-12

      Can you post the (wrong) result as it appears in OmegaT?

      Didier

       
  • Martin Fleurke

    Martin Fleurke - 2013-06-12

    3.0:
    R
    (blah!)
    (blah <s0></s0>)
    2.6

    <i0> R
    <s0>(blah!)</s0>
    <s0></s0> <s1></s1> (blah <s2></s2>)

     

    Last edit: Martin Fleurke 2013-06-12
  • Didier Briel

    Didier Briel - 2013-06-12

    Despite the fact that it obliges to revalidate the segments, do you consider it globally an improvement, or a regression?

    Didier

     
  • Martin Fleurke

    Martin Fleurke - 2013-06-12

    Its an improvement, and In my case it were only about 15 segments of many thousands. I can live with that.
    I mentioned it mainly for the record.

     
  • Didier Briel

    Didier Briel - 2013-06-12

    Thank you for the report, it is useful to know the differences.

    Yes, I knew Alex improved handling of &nbsp;, but hadn't seen so far a concrete result.

    Didier

     

Log in to post a comment.