Author mode very slow

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ra0543
Posts: 80
Joined: Wed Jan 14, 2009 12:50 pm

Author mode very slow

Post by ra0543 »

I have a problem with data entry gradually becoming very - indeed cripplingly - slow when using Author mode. I've tried the same file in Oxygen 10.0, 10.3 and now 11: the file is only 216KB but in Author mode it often takes as long as 5 or more seconds between typing a character and it appearing on the screen. The same file can be edited fine with no speed problem in Text mode but it is very important to us to make editing as easy as possible visually for non-expert personnel.

The structure of the data is complex as are the stylesheets (more complex than one might expect because of all the CSS that Oxygen does not support!) but I would not think them unreasonably complex. Also, the problem is clearly related to file size - when I delete half the file, the speed is OK.

The specification of the PC is more than adequate (Win XP Pro, 2GB of RAM and Intel core 2 duo processors), and the JVM memory usage reported with Help|About is only 8%.

What could be slowing it down? And more to the point, in what way can it be speeded up, other than by reducing the file size?
ra0543
Posts: 80
Joined: Wed Jan 14, 2009 12:50 pm

Author mode very slow - follow up

Post by ra0543 »

The problem seems to relate to using any CSS stylesheet at all. If I remove all CSS processing instructions in the XML the Author mode runs fine without the stylesheet (with its normal complaint about not finding a CSS) and does so at normal speed, but of course then I lose all the visual advantages that I want from the Author mode! I've tried very basic stylesheets, but as soon as I have any stylesheet the speed goes.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Author mode very slow

Post by sorin_ristache »

Hello,

What do you mean CSS processing instructions in the XML? Please give an example. Author mode uses the CSS stylesheet that is specified using an xml-stylesheet processing instructions, for example:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="personal.css"?>
<personnel>
...
</personnel>

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

Re: Author mode very slow

Post by sorin_ristache »

Also if you send sample files (an XML file and the associated CSS stylesheet used in Author mode) for reproducing the slow speed of Author mode we can reproduce the problem and identify the cause.


Thank you,
Sorin
Post Reply