> I've composed an xml-docbook document (a manual page) that contains a > programlisting element. > > When saving and closing the document, next reloading it, the > programlisting is depicted as a single line, i.e. all line endings seem > to have disappeared. This happens under Linux as well as Windows 2000, > when using XMLeditor V2.4 standard edition. > > I checked that freshly created documents in which I edit a dummy program > listing, do not exhibit this strange behaviour. This probably means that > the reported behaviour is to some extent specific for the manual page.
Definitely with previous releases, and possibly with 2.4 as well (although Hussein said they would fix this problem), if your document is not valid per the DocBook DTD, the implicit xml:space="preserve" attribute of programlisting elements may be lost. Check Hussein's suggestions first, but if they don't resolve your problem, you may want to check whether your document is valid (freshly created documents won't have this problem, since XXE makes it quite difficult to create an invalid document). @alex -- mailto:dupuy at sysd.com

