customizing doc type associations in AUTHOR? (Win 7 permissions)

Hi, I am in XML Author in Win 7 and am trying to change some default settings when editing docbook. I don't like the fact that by default author will open up docbook files in Author view. I prefer for it to open in text/code view. I am using lots of xincludes, so if I open up the main index.xml, author will attempt to tie all the files together (it will also spit an error message if parts are not valid). That can be time-consuming. I see that when editing Document Type associations (DTA), you have the option to change default code view. That would seem to be the answer. But wait! 1)Oxygen is pushing me to create a duplicate DTA for docbook5 instead of editing the original DTA. This sounds logical, but really I have no idea what this means to work with a duplicated DTA. Does this mean there are now 2 DTAs pointing to Docbook instead of 1? How does Oxygen know which settings to use? Do I need to specify this in my project? How do I do this? Will I need to do this every time? 2)The other option is to change my role from Content Author to Developer. Developer seems to have edit power over DTA options. Assuming that I change my role to developer, when I change the view to Text view, it gives me this error: You have no write permissions to the store location of this document type:C:\Program Files (x86)\Oxygen XML Author 11\frameworks\docbook\docbook5.framework Now I have noticed two problems with trying to edit the original DTAs. 1)they get erased every time you upgrade. (This happens when I add something to the catalog file in that Oxygen directory too). 2)I have windows permission problems every time. On my Vista box, I would edit the Security settings for the docbook directory to allow full control; only doing this would allow Oxygen to make this change successfully. On my Win 7 box, this doesn't seem to be working. It seems to me that the Oxygen configuration options should only change things which Oxygen editor has the permissions to change. Relying on the user to figure out which security scheme to use seems unwise. Or I am totally doing this the wrong way? Thanks for your help. -- Robert Nagle

Dear Robert, All your observations are true. You have 2 ways to accomplish what you want (number 1 being the recommended one): 1) Starting from Oxygen 11.1 in the Oxygen Preferences->"Editor / Pages" page there is a checkbox "Allow Document Type.....". Just uncheck it and the Document Type setting will no longer be used to decide the initial page. The checkbox was introduced exactly for problems like yours. 2) In the "Content Author" mode press Edit, choose duplicate, uncheck the initial page checkbox and save the settings. The duplicate Document Type will be saved in the Oxygen internal options and will not be erased by any upgrade. The downside to this is that if we add new actions, functionality to a document type in a future version of Oxygen, you will not benefit from it. Regards, Radu -- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 3/26/2010 8:09 PM, Robert Nagle wrote:
Hi, I am in XML Author in Win 7 and am trying to change some default settings when editing docbook.
I don't like the fact that by default author will open up docbook files in Author view. I prefer for it to open in text/code view. I am using lots of xincludes, so if I open up the main index.xml, author will attempt to tie all the files together (it will also spit an error message if parts are not valid). That can be time-consuming.
I see that when editing Document Type associations (DTA), you have the option to change default code view. That would seem to be the answer. But wait!
1)Oxygen is pushing me to create a duplicate DTA for docbook5 instead of editing the original DTA. This sounds logical, but really I have no idea what this means to work with a duplicated DTA. Does this mean there are now 2 DTAs pointing to Docbook instead of 1? How does Oxygen know which settings to use? Do I need to specify this in my project? How do I do this? Will I need to do this every time?
2)The other option is to change my role from Content Author to Developer. Developer seems to have edit power over DTA options. Assuming that I change my role to developer, when I change the view to Text view, it gives me this error:
You have no write permissions to the store location of this document type:C:\Program Files (x86)\Oxygen XML Author 11\frameworks\docbook\docbook5.framework
Now I have noticed two problems with trying to edit the original DTAs.
1)they get erased every time you upgrade. (This happens when I add something to the catalog file in that Oxygen directory too). 2)I have windows permission problems every time. On my Vista box, I would edit the Security settings for the docbook directory to allow full control; only doing this would allow Oxygen to make this change successfully. On my Win 7 box, this doesn't seem to be working.
It seems to me that the Oxygen configuration options should only change things which Oxygen editor has the permissions to change. Relying on the user to figure out which security scheme to use seems unwise. Or I am totally doing this the wrong way?
Thanks for your help.
participants (2)
-
Radu Coravu
-
Robert Nagle