Page 1 of 1

XML Schema

Posted: Wed Aug 20, 2003 12:36 pm
by theos@mymail.ro
I know that a xml schema is just a xml document, a schema editor exist in oxygen because i search for it and i didn't fount it like add element and etc.
I have a project open and i imported a folder to the project then i added a xsd file and start edditing it when i wan't to switch to tree edit it gives me an error(cannot find file unnamed3.xsd) after i saved the file it works. Then i saved file in the same directory that was imported to project directory on tree was not updated and when manualy added file at project it works but the file was not inserted in directory instead it was inserted as a child to the project. :idea: drag and drop the file to folder. shame on me it didn't work.
PS: It is posible to generate an aproximate schema from a given xml?
My java machine
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
System :
Win 2k uptodate.
10x theos@mymail.ro aka Mama Mare :)

Posted: Thu Aug 21, 2003 1:23 am
by george
Hi,

Oxygen offers support for XML Schema authoring offering an XML Schema text editor with context sensitive content assistant and XML Schema validation.

The project stucture is logical and has no link with the disk structure. The import directory operation is a shortcut for adding a logical folder with the same name as a real folder and adding each file from the real folder inside the logical folder. Having no link with the disk directory structure implies no synchronisation with the disk content changes. Drag and drop support for moving files inside the project sounds like a nice feature we should have.

You can use the oXygen Trang Wrapper plugin (it come together with oXygen 2.0.3) to generate an XML schema from a set of XML documents.

All the best,
George

Posted: Thu Aug 21, 2003 11:05 am
by theos@mymail.ro
Ok i understood the logical aspect of trees in directory.
Trend plugin is nice. From what i say about visual editing of schema is that the user can make and edit a schema without knowing all the schema stuff, autocompletion is nice but has a few missing attribute for some nodes type, and how exactly can move a file from a folder to another ?
2. Can be posible that open dialog to open last location?

Posted: Thu Aug 21, 2003 11:36 am
by george
Hi,
autocompletion is nice but has a few missing attribute for some nodes type
The content assistant offers only the valid entries on the given context. For instance the ref attribute cannot appear in a top level element while it is allowed in a local element declaration. If you think oXygen does not show an attribute when it should do so please provide a sample.
how exactly can move a file from a folder to another ?
Open it, remove the reference from the source folder, select the destination folder and then use Add edited file action.
2. Can be posible that open dialog to open last location?
It does so. There are some problems with the Open dialog on Java 1.4.0 you are using. Please upgrade to 1.4.2 and you will not experience this problem.

Regards,
George