This is probably a question for Luca or Simon. In LineLM we have this code: // ignore KnuthGlue and KnuthPenalty objects // at the beginning of the line seqIterator = seq.listIterator(iStartElement); tempElement = (KnuthElement) seqIterator.next(); while (!tempElement.isBox() && seqIterator.hasNext()) { tempElement = (KnuthElement) seqIterator.next(); iStartElement++; } What is the background to this? This seems to interfere with certain combinations of white-space-collapse="false" and white-space-treatment="preserve/ignore-if-before-linefeed". I think there is similar code to remove trailing stuff with similar interference.
Manuel