Peter Brooks wrote:
> 
> I've been using the evaluation copy of 1.3p3 XXE for about five weeks now
> and I seem to have a problem with the .xml file format that is reproducible
> despite uninstalling and reinstalling the product (the Windows
> self-installer version with Java bundled  file name xxe-m13p3-setup.exe).
> 
> What happens is that the .xml file is being apparently corrupted in a
> systematic way. A CR/LF is being inserted before the closing bracket of a
> tag (>) instead of after it, yielding the following file structure:
> 
> <book
> ><bookinfo
> ><title
> >Venice Administrator</title
> ><subtitle
> >User Guide For:</subtitle
> ><subtitle
> 
> I have checked against a previously created .xml file that doesn't have this
> problem and if I load it in, then SAVE AS, I get the same corruption.

What you see is the unindented output. It is perfectly well-formed XML
(i.e. not corrupted in any way), even if, as a human reader, it hurts
your good taste.

If you want to get a nice indented output, simply check the "Indent when
DTD" toggle in the "Save" tab of the "Options" dialog box (in menu
"Options").

You'll have to do that once for all because settings are automatically
saved to a preference file.

Of course, you'll have to repeat this setting each time you install XXE
on a new machine, as it is not the default setting.

> Is this a known problem, and is there anything I can do to resolve it,
> please?

This is a FAQ.

PS: in the product which will be released tomorrow, indented output is
the default setting.

Reply via email to