Forrest
  1. Forrest
  2. FOR-448

Faulty treatment of a-Elements in html-pipeline

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7, 0.8
    • Fix Version/s: 0.8
    • Component/s: Core operations
    • Labels:
      None
    • Environment:
      Windows XP SP2

      Description

      After noticing that anchor elements in html-files got lost in the Forrest default pipeline, I did some test with a sample document (before and after are included) and found that named anchors either get completely lost or messed up pretty bad. Even text within them is sometimes lost.

      The lines refer to original and translated file.

      Original Translated Looks Function
        line line
      ------------------------------------------
         16 157 ok gone
         <a> element is completely lost
         
         
         22 162 bad ok
         
         there are now 2 <a> elements
         <a name="anchor2"></a>Anchor 2<a href="#anchor1">Anchor 2</a>
         and unfortunately twice the text!
         
         29 166 ok gone
         <a> element is completely lost
         
         35 171 bad gone
         <a> element and text within it is completely lost!
         
         42 176 ok gone
         <a> element is completely lost
         
         49 181 ok gone
         <a> element is completely lost
      1. anchorerrortestfiles.zip
        3 kB
        David Crossley
      2. html-to-document.xml.diff
        2 kB
        Jim Dixon

        Activity

        Ferdinand Soethe created issue -
        Ferdinand Soethe made changes -
        Field Original Value New Value
        Attachment anchorerrortestfiles.zip [ 10414 ]
        David Crossley made changes -
        Attachment anchorerrortestfiles.zip [ 12310414 ]
        David Crossley made changes -
        Attachment anchorerrortestfiles.zip [ 12339458 ]
        Jim Dixon made changes -
        Attachment html-to-document.xml.diff [ 12339493 ]
        David Crossley made changes -
        Affects Version/s 0.8-dev [ 12310040 ]
        David Crossley made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 0.8-dev [ 12310040 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ferdinand Soethe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development