Inserted code

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Scott

Inserted code

Post by Scott »

I save a valid, wellformed XML Schema, and when I open up oxygen it has inserted the following code into the file:
<project>
<meta>
<lastOpenedFiles>
<file name="ment.xsd"/>
</lastOpenedFiles>
</meta>
<projectTree name="ment.xsd">

Now the file is screwed up, won't validate and has to be manually fixed. How do I get oxygen to leave my files alone?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Dear Scott,

The problem is that you named the project with the same name as the schema file, that is ment.xsd. When you close the application the project is saved thus overwriting the ment.xsd file with the project information. When you reopen <oXygen/> the last open project is loaded and you see in the ment.xsd file the project file content.
Please use a different name for the project and schema and everything will be ok.

Best Regards,
George
Post Reply