Hi Hussein,

Having spoken with Bluestream, I have some more questions. 

Jim Tivy (Bluesteam) says that the basic problem is that XXE knows only of the 
virtual path, and not of the actual filename of the resource that I'm trying to 
use a helper app to open. He has suggested that an intermediary Java app to 
call the Bluestream API and establish the name of the actual file in the cache 
would be the first step to successfully handing it off to a helper app. 
Currently, he says, when XXE asks for a resource, XDocs simply streams the 
resource down to XXE and the Virtual Drive plugin handles the relationship 
between the file displayed in XXE and the file in the repository. What's needed 
for making helper apps work is a more direct relationship where the virtual 
drive checks out the resource and then hands the name of the actual file in the 
cache off to the helper app.

Any ideas on where to go next with this? Does XXE have any built in ways of 
accessing an external API? Could this be a custom command?

Jeff.


----- Original Message ----
> From: Hussein Shafie <hussein at xmlmind.com>
> To: Jeff Hooker <jeff at itwriting.ca>
> Cc: "xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com>
> Sent: Friday, June 19, 2009 2:25:05 AM
> Subject: Re: [XXE] Using Helper applications when using a Virtual Drive plugin
> 
> Jeff Hooker wrote:
> > 
> > I'm using a virtual drive plugin with the Bluestream XDocs system. The 
> > plugin 
> functions for dynamically checking out XML content when I open an Xinclude or 
> a 
> DITA topic, but when I try to use a helper application to open an image file 
> or 
> a visio diagram in its native editing tool, a dialog box tells me that that I 
> don't have permission to access the file. 
> > The file is displayed in XMLmind, and is present in the cache. Any idea 
> > about 
> how to make this work?
> > 
> 
> In my understanding, your virtual drive plugin downloads and then caches 
> downloaded files on the local file-system.
> 
> Please make sure that the code of your virtual drive plugin does not keep 
> such 
> files opened and/or does not lock them.
> 
> I'm sorry but this is the only idea that comes to my mind.
> 
> ---
> PS: Just to be sure: please turn off the option "Lock documents stored on the 
> local filesystem" (Options|Preferences,? Open section -- 
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.guiutil.PreferencesEditorDialog.html#openOptions).

Reply via email to