Warn on loading single-line XML documents

Are you missing a feature? Request its implementation here.
dsewell
Posts: 125
Joined: Mon Jun 09, 2003 6:02 pm
Location: Charlottesville, Virginia USA

Warn on loading single-line XML documents

Post by dsewell »

Currently, if one has "Line wrap" set in oXygen preferences, it is horribly slow to load a large XML file without line breaks (and horribly slow to work with the file once it is loaded). With line wrap off, the loading is much faster, and it is possible then to use format-and-indent if desired to format the file.

Would it be possible to have oXygen detect very long lines (>1000 chars, maybe) and automatically turn line wrap off before loading a file? Or at least warn the user and provide an option to turn line wrap off?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

This is the first problem treated in the Common problems chapter of the User Manual: you should enable the Format and indent the document on open option in Preferences before opening such files in oXygen. We plan to detect this situation automatically in a future version of oXygen when opening a file and we will let you know about the implementation of this.


Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

oXygen version 8.2 was released and it handles the case of a file with very long lines when the file is opened.


Regards,
Sorin
Post Reply