19.1. | <oXygen/> opens a XML document after a long time. Why does
it happen? |
| All the content of your document is on a single line or the document is
very large. If the content is on a single line please enable the
Format and indent the document on open preference
from
→ +Editor / Format / XML
before opening the document. If the document is very large (above 10
MB) you should increase
the memory available to <oXygen/>. |
19.2. | I am trying to open a file larger than 70 MB for editing in <oXygen/> but it
keeps telling me it runs out of memory. What can I do? |
| Files larger than 70 MB should not be opened in <oXygen/>for editing as this
requires a very large amount of memory which exceeds the maximum amount of
memory allowed for a Java process. Such files should be opened only for
viewing (read-only access) using the Large File Viewer
tool available both in the <oXygen/> application on the Tools menu and as a
standalone tool on the shortcuts menu together with the <oXygen/>
shortcut. |
19.3. | My file was created with other application and it contains special
characters like é, ©, ®, etc. Why does <oXygen/> display a square for these
characters? |
| You must set a font able to render the special characters from Font preferences. If it is a text
file you must set also the encoding
used for non XML files. If a TrueType font installed on the
computer is not accessible in the Font preferences the Java virtual machine
is not able to load the system fonts. It is a problem of the Java virtual
machine and a possible solution is to copy the files of the font in the
[JVM-home-folder]/lib/fonts
folder. |
19.4. | When I start <oXygen/> XML Author on Windows XP I get the following error. What can I
do?
Cannot start <oXygen/>.
Due to:java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getString(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getString(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getDimension(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsProgressBarUI.
getPreferredInnerHorizontal(Unknown Source) |
| The error is cause by a a bug in the Java runtime from Sun Microsystems. You can avoid
it by setting the Java system property
com.oxygenxml.no.xp.theme to the value
true in the startup script. If you start <oXygen/> XML Author with the
author.bat script just add the parameter
-Dcom.oxygenxml.no.xp.theme=true to the java command in the
script. If you start
<oXygen/> XML Author from the Start menu shortcut add the
same parameter on a new line in the file
[oXygen-install-folder]\author.vmoptions. |
19.5. | <oXygen/> crashed the JVM, what happened? |
| Java applications can't do this. The problem is a bug in the JVM.
Depending of your platform, there is information logged about what caused
the crash. For Unix type systems you will get an error in the console (and
for Mac OS X you may also get a report in
~/Library/Logs/CrashReporter/JavaApplicationStub.crash.log). |
19.6. | When I do a keyword search in the User Manual the search highlights the
wrong word in the text, often several words after the keyword. Is this a
bug? |
| You get wrong highlights when <oXygen/> runs with some Java virtual machines.
The search highlights are correct when <oXygen/> runs with a stable Java 1.6
virtual machine. It is a problem of the JavaHelp indexer supplied by Sun
Microsystems. In order to see correct highlights we recommend to use Java
1.6.0_01. |
19.7. | The keyboard shortcuts listed in Options -> Preferences -> Menu Shortcut
Keys do not work. What can I do? |
| Usually this happens when a special keyboard layout is set in the
operating system which generates other characters than the usual ones for
the keys of a standard keyboard. For example if you set the extended Greek
layout for your keyboard you should return to the default Greek layout or to
the English one. Otherwise the Java virtual machine that runs the
application will receive other key codes than the usual ones for a standard
keyboard. |
19.8. | Before installing Oxygen XML Editor/Author I had no problems viewing XML
files in Internet Explorer but now Internet Explorer opens an XML file in
Oxygen XML Editor/Author. How can I view XML files in Internet Explorer
again? |
| XML files are opened in Oxygen because Internet Explorer uses the Windows
file associations for opening files and you associated XML files with Oxygen
XML Editor/Author in the installer panel called File Associations. This
installer panel displays a warning above the XML file association that XML
files will not be viewed correctly in Internet Explorer if you associate
them with Oxygen XML Editor/Author. For viewing XML files in Internet Explorer again you have to associate XML
files with IE by right-clicking on an XML file in Windows Explorer,
selecting Open With -> Choose Program, selecting IE in the list of
applications and checking the checkbox "Always use the selected program".
Also you have to run the following command from a command line: wscript revert.vbs where revert.vbs is a text file with the following content:
function revert()
Set objShell = CreateObject("WScript.Shell")
objShell.RegWrite "HKCR\.xml\", "xmlfile", "REG_SZ"
objShell.RegWrite "HKCR\.xml\Content Type", "text/xml", "REG_SZ"
end function
revert() |
19.9. | I cannot associate the <oXygen/> application with a file type on my Windows
computer by right clicking on a file in Windows Explorer, selecting Open
With -> Choose Program and browsing to the file
oxygen.exe. When I select the file
oxygen.exe in the Windows file browser dialog and I
click the Open button of the dialog the <oXygen/>
application is not added to the list of applications in the Open
With dialog of Windows. What can I do? |
| The problem is due to some garbage Windows registry entries remained from
old versions of <oXygen/> Please uninstall all your installed versions of <oXygen/>
and run a registry cleaner application for cleaning these entries.
Reinstalling a recent version of <oXygen/> will not generate this problem
anymore. |
19.10. | When I close the <oXygen/> application with multiple files open and then
restart it, every file opens in a split panel of the editing area instead of
a tab sharing with the other opened files the same editing area which
organizes the editors in a tabbed pane. I want to have the files arranged as
a tabbed pane as they used to be arranged before this restart of
<oXygen/>. |
| This happens randomly when several files are opened automatically on
startup. It is a problem of the JIDE docking views library used in <oXygen/> for
docking and floatable views. The workaround is to run the action
→ . If you have a specific layout of the <oXygen/> views which you
want to preserve when running this action you should set your layout in
→ +Perspectives Layout+Use fixed layout. |
19.11. | I try to run <oXygen/> on Linux with the Compiz / Beryl window manager but I
get only a grey window which does not respond to user actions / after
opening and closing an <oXygen/> dialog or after resizing the <oXygen/> window or a
view of the <oXygen/> window the content of this window becomes grey and it does
not respond to user actions. What is wrong? |
| Sun Microsystems' Java virtual machine does
not support the Compiz window manager and the Beryl one very
well. We are expecting better support for Compiz / Beryl in future
versions of their Java virtual machine. You should turn off the special
effects of the Compiz / Beryl window manager before starting the <oXygen/>
application or switch to other window manager. |
19.12. | <oXygen/> hangs about a minute at 2% of the startup progress bar and also when
I open the file open/file save dialog from the File toolbar or from the File
menu. Why do I get this slow actions? |
| This happens with the Sun's Java virtual machine version 1.6.0_02 and
later due to a
bug introduced by JVM 1.6.0_02. Please run the <oXygen/> application
with a different JVM version. See the installation instructions for setting a specific JVM version
for running the <oXygen/> application. |
19.13. | When I try to drag with the mouse an unselected resource from the Project
View/DITA Maps Manager, the drag never starts, it only selects the resource.
I need to drag the resource again after it becomes selected. As a result any
drag and drop without initial selection becomes a two step operation. How
can I fix this? |
| This is a
bug present in JVM versions prior to 1.5.0_09. This issue is fixed
in 1.5.0_09 and newer versions(including 1.6). See the installation instructions
for setting a specific JVM version for running the <oXygen/> application. |
19.14. | How do I set the version X of the Java virtual machine for <oXygen/> on Mac OS
X? |
| <oXygen/> uses the first JVM from the list of preferred JVM versions set on
your Mac computer that has the version number not less than 1.5.0. You can
move your desired JVM version up in the preferred list by dragging it with
the mouse on a higher position in the list of JVMs available from
Applications -> Utilities -> Java -> Java Preferences. |
19.15. | On my Mac OS X machine when I double-click on the <oXygen/> icon the
application doesn't start / gives a Segmentation fault
error. |
| Install the latest Java update from the Apple website. If that doesn't
solve the problem copy the file JavaApplicationStub
from the /System/Frameworks folder to
the oxygen.app/Contents/MacOS folder.
For browsing the folder oxygen.app
Meta + click on the <oXygen/> icon and select Show Package
Contents |
19.16. | After upgrading my OS X version to 10.4.x / my <oXygen/> version to 6.x <oXygen/>
is not associated to the file types XML,
XSL, XSD, etc. This worked in the
previous version of <oXygen/>. |
| The upgrade damaged the file associations in the LaunchService Database on
your Mac OS X machine. Please rebuild the LaunchService Database with the
following procedure. This will reset all file associations and will rescan
the entire file system searching for applications that declare file
associations and collecting them in a database used by Finder. Procedure 19.1. Rebuild file associations of the LaunchService Database Find all the <oXygen/> installations on your hard drive. Delete them by dragging them to the Trash. Clear the Trash. Unpack the installation kit on your desktop. Copy the contents of the archive into the folder
/Applications/Oxygen. Run the command
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/
LaunchServices.framework/Support/lsregister -kill -r -domain
local -domain system -domain user -dump
from the Terminal. Restart Finder with
killall Finder
from the Terminal. Create a XML or XSD file on your desktop. It should take the <oXygen/>
icon. Double click it. After accepting the confirmation dialog <oXygen/>
will be start up.
|
19.17. | After upgrading my Mac OS X to version 10.4.1 Tiger I am not able to set
all XML files to open with <oXygen/> when I click
Change All in the Get Info
dialog. This worked in OS X 10.3.x. |
| On Mac OS X Tiger you must add an entry to the
Info.plist file. Tiger was released after <oXygen/> version
6.0 so we could not include the change in the release. Please close <oXygen/>,
press Meta + click on the <oXygen/> icon, select Show package
contents, go to Contents, edit the
Info.plist file, add the entry
<key>CFBundleIdentifier</key>
<string>ro.sync.exml.Oxygen</string>
and restart <oXygen/>. Select Change All in the
Get Info dialog to make the association. |