Random spaces appearing between elements
Posted: Fri Oct 22, 2010 2:11 pm
Since upgrading to Oxygen 12 (I don't think I was getting this in 11) I keep getting random bunches of spaces of varying length, e.g. ' ' or ' ', being inserted within elements and this seems to happen according to no particular pattern of distribution. Every time I delete them and then save and reopen the file, it seems they reappear - not necessarily in the same place. The lengths seems to correspond to the depth of nesting of the relevant elements being separate: it's like Oxygen is adding indents to the text while not adding linebreaks.
The problem is that I work solely in the author view and the elements in question are descendants of an element marked with the xml:space='preserve' attribute. The spaces seem only to be added within elements that have element-only content, and they are added between such child elements. But nonetheless, it is extremely irritating.
I suspect that this is a consequence of sometimes having very long lines in my files - since it seems only to happen on lines that are very long -, but I've tried adjusting the long-line threshold in the options to 30,000 characters (when I discovered the problematic line does exceed the default 15,000 characters) but it still seems to happen even though that new threshold is not exceeded. Moreover, it seems weird that Oxygen's response to any very long line is to try to make it longer.
I thought that Oxygen in all views and actions respects absolutely xml:space='preserve' and never ever interferes with the spaces etc. within them. (In not adding linebreaks, it seems like that is true - but perhaps there is a bug and the indents are incorrectly being put in.) Is this no longer the case? Although the spaces are not meaningful as far as the XML goes, I do need them not to be added in this way, because that has knock-on effects elsewhere.
Is this a bug? And if so, can it be fixed?
The problem is that I work solely in the author view and the elements in question are descendants of an element marked with the xml:space='preserve' attribute. The spaces seem only to be added within elements that have element-only content, and they are added between such child elements. But nonetheless, it is extremely irritating.
I suspect that this is a consequence of sometimes having very long lines in my files - since it seems only to happen on lines that are very long -, but I've tried adjusting the long-line threshold in the options to 30,000 characters (when I discovered the problematic line does exceed the default 15,000 characters) but it still seems to happen even though that new threshold is not exceeded. Moreover, it seems weird that Oxygen's response to any very long line is to try to make it longer.
I thought that Oxygen in all views and actions respects absolutely xml:space='preserve' and never ever interferes with the spaces etc. within them. (In not adding linebreaks, it seems like that is true - but perhaps there is a bug and the indents are incorrectly being put in.) Is this no longer the case? Although the spaces are not meaningful as far as the XML goes, I do need them not to be added in this way, because that has knock-on effects elsewhere.
Is this a bug? And if so, can it be fixed?