Menu

#342 DocBook: entities resolved only under Java 1.4

1.7
closed-fixed
5
2008-09-11
2007-11-03
No

In DocBook documents, entities might be used for inclusion.
E.g.,
<!ENTITY chap1 SYSTEM "chap1.xml">

Under Java 1.4, these entities are resolved, which means a single document in OmegaT contains all the segments of all chapters.

Under Java 1.5 and 1.6, entities are not resolved, meaning only the main document is loaded.

Didier

Discussion

  • Alex Buloichik

    Alex Buloichik - 2007-11-21

    Logged In: YES
    user_id=458256
    Originator: NO

    Could anybody attach DocBook xml files as example for this bug ?

     
  • Nobody/Anonymous

    Logged In: NO

    The file I tested is the Linux Documentation Project "Linux Introduction". Even compressed it is a little heavy so I'm sending it to you personally.

    JC

     
  • Alex Buloichik

    Alex Buloichik - 2007-11-23

    Logged In: YES
    user_id=458256
    Originator: NO

    I can't see this problem on the Linux docs (Intro-Linux.zip). All entities resolved in 1.5.0_11 and 1.6.0_01.
    OmegaT says segments count is 7901, like with 1.4.2_04. I can see segments from chap10.xml, etc.

     
  • Didier Briel

    Didier Briel - 2007-11-28

    Logged In: YES
    user_id=1343245
    Originator: YES

    Alex, on what system are you testing this?

    Didier

     
  • Alex Buloichik

    Alex Buloichik - 2007-11-29

    Logged In: YES
    user_id=458256
    Originator: NO

    I tested "Introduction to Linux" in Windows, using jdk: 1.5.0_13, 1.5.0_11, 1.4.2_05, 1.6.0_01

     
  • Didier Briel

    Didier Briel - 2007-11-30

    Logged In: YES
    user_id=1343245
    Originator: YES

    I attach the test document.

    Didier
    File Added: Intro-Linux.zip

     
  • Didier Briel

    Didier Briel - 2007-11-30
     
  • Didier Briel

    Didier Briel - 2008-07-19
    • labels: --> File filters
    • milestone: --> 1.7
    • assigned_to: nobody --> alex73
    • status: open --> open-fixed
     
  • Didier Briel

    Didier Briel - 2008-07-19

    Logged In: YES
    user_id=1343245
    Originator: YES

    In fact, it was not working only when the path of the files to include contained spaces (e.g., C:\My documents\chap1.xml), which explains why it was working for some and not for others.

    Fixed in SVN (1.7, 1.8 and /trunk)

    Didier

     
  • Didier Briel

    Didier Briel - 2008-09-11

    Closing...
    This bug was corrected in the just released version 1.7.3 update 4 of OmegaT.

     
  • Didier Briel

    Didier Briel - 2008-09-11
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.