DITA and XMetaL Discussion
kwag_myers January 18, 2011 at 8:16 pm
Error in Document Type Declaration in the documentJanuary 18, 2011 at 8:16 pmParticipants 2Replies 3Last Activity 11 years, 10 months ago
I think I broke something…again. I was playing around with this: [url=http://forums.xmetal.com/index.php/topic,431.msg1720.html#msg1720]http://forums.xmetal.com/index.php/topic,431.msg1720.html#msg1720[/url] in an effort to get My Assets going (it's a slow day here in the mire). Anyway, in Windows 7, the only way to edit the XMetaL60.ini file is to change some permissions. I couldn't get it to work, but now when I attempt to open a file in XMetaL it opens in Plain Text View with an error:
“Error in Document Type Declaration in the document: Unable to create rules file. The file C:Program Files (x86)XMetaL 6.0AuthorDITAXACsconceptconcept_ditabase.rlx could not be created.”
I've tried changing everything back the way it was (to the best of my recollection) and restarting my machine. Any suggestions (besides the obvious: stop playing with stuff you know nothing about)?Derek Read January 18, 2011 at 10:03 pm
Reply to: Error in Document Type Declaration in the documentJanuary 18, 2011 at 10:03 pm
Actually, you can add options to the following file and they should override (cumulatively) settings inside the copy installed next to XMetaL60.exe:
Having said that, I suspect your issue is that you have removed the following setting that tells XMetaL you are running as a user with less than full permission to write files anywhere you like (the default behavior of Windows XP):
This is set by default and will be required on almost any version of Windows 7 (where people are usually “limited users”). If you log in as a local admin and turn UAC off you can get away without having it installed. With this setting enabled XMetaL writes any files it would otherwise write to a read only location (such as C:Program Files) into the following “per user” location instead (which is what you want): %appdata%SoftQuadXMetaL6.0genkwag_myers January 19, 2011 at 1:19 pm
Reply to: Error in Document Type Declaration in the documentJanuary 19, 2011 at 1:19 pm
Ah, I see the problem – underscore, not hyphen. Su-Laine Yeo has “…per-user…” in her (previously mentioned) post. Changing the hyphen to an underscore has solved the issue. I should also mention that this was causing XMetaL to go unresponsive on closing. This, too, has been resolved.
- You must be logged in to reply to this topic.