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
Logged In: YES
user_id=458256
Originator: NO
Could anybody attach DocBook xml files as example for this bug ?
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
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.
Logged In: YES
user_id=1343245
Originator: YES
Alex, on what system are you testing this?
Didier
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
Logged In: YES
user_id=1343245
Originator: YES
I attach the test document.
Didier
File Added: Intro-Linux.zip
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
Closing...
This bug was corrected in the just released version 1.7.3 update 4 of OmegaT.