Binding and unbinding filename autocompletion

Having trouble installing Oxygen? Got a bug to report? Post it all here.
whyme
Posts: 93
Joined: Fri Mar 08, 2013 8:58 am

Binding and unbinding filename autocompletion

Post by whyme »

I am working with an XML vocabulary that defines @src such that it is not a URI. Is there any way to turn off the autocompletion feature that offers a list of local filenames one might want to pick? Also, is there a way to re-bind that filename autocomplete feature with another attribute or element of one's choice? What's the proper way to go about doing that?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Binding and unbinding filename autocompletion

Post by adrian »

Hi,
Is there any way to turn off the autocompletion feature that offers a list of local filenames one might want to pick?
There is no simple way to turn it off (no user option), since the list of attributes is hard-coded in a built-in file and not user configurable. However, this can be overridden for a specific attribute, if you have a schema associated with the XML file that proposes values or restricts the type for that attribute.
Also, is there a way to re-bind that filename autocomplete feature with another attribute or element of one's choice? What's the proper way to go about doing that?
This is not user configurable, so if you want to enable this filename autocomplete feature for a custom attribute you would need to create a patch file with the modified builtin file and place it in a specific folder path in the Oxygen/lib folder (to override the built-in file). I guess the same method can be used to remove a built-in attribute in the patched file.
If you are interested in this solution, please contact us on our support email address, support@oxygenxml.com.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply