Schema - Auto Completion

Hi There, I have a question about auto - completion. Before we switched from XML-Schema to Relax-NG we had some kind of Schema based auto-completion. For example when a <person> must have a <firstname> and a <lastname> oxygen auto completed a started <person> tag to: <person> <firstname></firstname> <lastname></lastname> </person> Since we use Relax-NG this feature seams to be missing. Do i have to set an option or is there simply no feature like this? Regards Chris -- QuinScape GmbH Christian.Kosmowski@QuinScape.de http://www.QuinScape.de http://www.docscape.de

Hello, Auto-completion should work for both XML Schema and RELAX NG schemas. Do you mean that you have no auto-completion in an XML document associated with a RELAX NG schema? What schema file is opened by the action Open External Schema available on the Document toolbar and the menu Document -> XML Document? How is the schema associated with the edited document: a processing instruction <?oxygen RNGSchema="...", a document type? Regards, Sorin Christian Kosmowski wrote:
Hi There,
I have a question about auto - completion. Before we switched from XML-Schema to Relax-NG we had some kind of Schema based auto-completion. For example when a <person> must have a <firstname> and a <lastname> oxygen auto completed a started <person> tag to:
<person> <firstname></firstname> <lastname></lastname> </person>
Since we use Relax-NG this feature seams to be missing.
Do i have to set an option or is there simply no feature like this?
Regards
Chris

Hello, Do you mean inserting the child elements <firstname> and <lastname> together with the parent element <person> when <person> is selected in the auto-completion popup? That is not implemented yet for RELAX NG schemas but we plan to implement it in a future version. Regards, Sorin Christian Kosmowski wrote:
Hi There,
I have a question about auto - completion. Before we switched from XML-Schema to Relax-NG we had some kind of Schema based auto-completion. For example when a <person> must have a <firstname> and a <lastname> oxygen auto completed a started <person> tag to:
<person> <firstname></firstname> <lastname></lastname> </person>
Since we use Relax-NG this feature seams to be missing.
Do i have to set an option or is there simply no feature like this?
Regards
Chris
participants (2)
-
Christian Kosmowski
-
Sorin Ristache