Fithen William L wrote: > On Mac OS X: > > System Version: Mac OS X 10.4.3 (8F46) > Kernel Version: Darwin 8.3.0 > Boot Volume: Lukas > Computer Name: lukas.fithen.org > User Name: William L Fithen (wlf) > > With xxe 3.0p1 pro installed (same problem on xxe 2.10 pro but upgraded > to see if corrected) but not running: > > If you execute the following at a Terminal prompt: > > $ open $EXISTING_FILE_WITH_docb_EXTENSION > > XXE starts but does not open the file.
I confirm. Moreover, in such case XXE has window refresh problems and other applications cannot get the keyboard focus (e.g. Terminal) and/or cannot be properly displayed (e.g. Safari) and are therefore unusable. > If you go into the XMLEditor.app package and run: > > $ ./JavaApplicationStub $EXISTING_FILE_WITH_docb_EXTENSION > > XXE starts and DOES open the file. > > Clearly the LauchServices handoff triggered by "open" is not being > handled properly. Oddly, Finder File->Open works (as does the right > click menu) but others apps cannot invoke XMLEditor either; only Finder > seems to able to. For example, Eclipse 3.1.1 fails to invoke XMLEditor > in the same way; XMLEditor starts but does not open the passed file. > Eclipse has no problem with other applications. I confim that too: XXE works fine when used from the Finder and is completely broken (in fact, the whole desktop is broken) when started using the "open" command (or when the "open" command is used to open a document in an existing XXE instance). The problem is that, after spending a few hours on that problem, we don't know what to do to fix it[*]. Sorry for that. As a workaround, please use JavaApplicationStub (or the xxe shell script) after turning on Options|Options, General selection, "Use a unique instance of XMLmind XML Editor" (see http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#generalOptions). --- [*] XXE has very few code - 100 lines of Java[tm] code at most -- which is Mac OS X specific, and this code seems to work fine when used from the Finder (we have traced its use).

