I just downloaded the JEE edition of Ganymede Eclipse.
After editing an XSD file I right-clicked on the file, expecting to see
the "Generate" menu to I could select the "XML File" option to create a
file from the schema. The option is not there.
What do I need to add to get this back? It was there in prior versions.

Thanks,
T]]>2009-01-30T22:46:48-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227510/#msg_227510
> I just downloaded the JEE edition of Ganymede Eclipse.
> After editing an XSD file I right-clicked on the file, expecting to see
> the "Generate" menu to I could select the "XML File" option to create a
> file from the schema. The option is not there.
> What do I need to add to get this back? It was there in prior versions.
>
> Thanks,
> T
Hi Todd,

I just checked if I could Generate an XML file from an XSD and was able
to get the menu to pop up using the JEE edition of Ganymede.

Is the *.xsd extension still associated with the XSD content type (not
necessarily the XML Schema File content type)? You can check this in
Preferences > General > Content Types. The XSD content type should be a
descendant of Text > XML. This menu item is enabled when the file is
either of DTD or XSD content types.

Nick]]>Nick Sandonato2009-02-02T16:36:40-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227514/#msg_227514
> After editing an XSD file I right-clicked on the file, expecting to see
> the "Generate" menu to I could select the "XML File" option to create a
> file from the schema. The option is not there.
> What do I need to add to get this back? It was there in prior versions.

I downloaded the latest JEE edition of Ganymede Eclipse and was able to
see the "Generate" -> "XML File" item in the popup menu when
right-clicking on an XML schema file. Note there is another way of
creating an XML document from a XSD file:
"File" -> "New" -> "Other" -> "XML" -> "XML"
This will bring up a wizard, in the first page select a name and location
for the new XML document. In the following wizard page select: "Create XML
file from an XML schema file" and click on "Next". Finally, select the
schema file and click on "Finish".
If these options are not available either, I would suggest downloading
Eclipse again, there could be something wrong with the instance you have
currently running.]]>Gabriel Indik2009-02-03T16:12:26-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227518/#msg_227518
Originally posted by: nospam.example.com

Nick Sandonato wrote:
> Todd wrote:
>> I just downloaded the JEE edition of Ganymede Eclipse.
>> After editing an XSD file I right-clicked on the file, expecting to
>> see the "Generate" menu to I could select the "XML File" option to
>> create a file from the schema. The option is not there.
>> What do I need to add to get this back? It was there in prior versions.
>>
>> Thanks,
>> T
> Hi Todd,
>
> I just checked if I could Generate an XML file from an XSD and was able
> to get the menu to pop up using the JEE edition of Ganymede.
>
> Is the *.xsd extension still associated with the XSD content type (not
> necessarily the XML Schema File content type)? You can check this in
> Preferences > General > Content Types. The XSD content type should be a
> descendant of Text > XML. This menu item is enabled when the file is
> either of DTD or XSD content types.
>
> Nick

I checked the preferences and both "XML Schema File" and XSD are listed
under the Text/XML file type. There is also an item named XML
(Illformed) that has *.xsd listed. Is there some other reason the
"Generate" menu option would not show?

Nick Sandonato wrote:
> Todd wrote:
>> I just downloaded the JEE edition of Ganymede Eclipse.
>> After editing an XSD file I right-clicked on the file, expecting to
>> see the "Generate" menu to I could select the "XML File" option to
>> create a file from the schema. The option is not there.
>> What do I need to add to get this back? It was there in prior versions.
>>
>> Thanks,
>> T
> Hi Todd,
>
> I just checked if I could Generate an XML file from an XSD and was able
> to get the menu to pop up using the JEE edition of Ganymede.
>
> Is the *.xsd extension still associated with the XSD content type (not
> necessarily the XML Schema File content type)? You can check this in
> Preferences > General > Content Types. The XSD content type should be a
> descendant of Text > XML. This menu item is enabled when the file is
> either of DTD or XSD content types.
>
> Nick

I checked the preferences and both "XML Schema File" and XSD are listed
under the Text/XML file type. There is also an item named XML
(Illformed) that has *.xsd listed. Is there some other reason the
"Generate" menu option would not show?

Gabriel Indik wrote:
>> I just downloaded the JEE edition of Ganymede Eclipse.
>> After editing an XSD file I right-clicked on the file, expecting to
>> see the "Generate" menu to I could select the "XML File" option to
>> create a file from the schema. The option is not there.
>> What do I need to add to get this back? It was there in prior versions.
>
> I downloaded the latest JEE edition of Ganymede Eclipse and was able to
> see the "Generate" -> "XML File" item in the popup menu when
> right-clicking on an XML schema file. Note there is another way of
> creating an XML document from a XSD file:
> "File" -> "New" -> "Other" -> "XML" -> "XML"
> This will bring up a wizard, in the first page select a name and
> location for the new XML document. In the following wizard page select:
> "Create XML file from an XML schema file" and click on "Next". Finally,
> select the schema file and click on "Finish".
> If these options are not available either, I would suggest downloading
> Eclipse again, there could be something wrong with the instance you have
> currently running.
>
I do have this option and could generate an XML file from an existing
schema (XSD) file.]]>2009-02-03T20:33:28-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227533/#msg_227533
Originally posted by: nospam.example.com

Nick Sandonato wrote:
> Todd wrote:
>> I just downloaded the JEE edition of Ganymede Eclipse.
>> After editing an XSD file I right-clicked on the file, expecting to
>> see the "Generate" menu to I could select the "XML File" option to
>> create a file from the schema. The option is not there.
>> What do I need to add to get this back? It was there in prior versions.
>>
>> Thanks,
>> T
> Hi Todd,
>
> I just checked if I could Generate an XML file from an XSD and was able
> to get the menu to pop up using the JEE edition of Ganymede.
>
> Is the *.xsd extension still associated with the XSD content type (not
> necessarily the XML Schema File content type)? You can check this in
> Preferences > General > Content Types. The XSD content type should be a
> descendant of Text > XML. This menu item is enabled when the file is
> either of DTD or XSD content types.
>
> Nick

Does it matter what perspective I am in?
I still don't have the "Generate" option on the right-click menu and I
really need it.

Thanks.]]>2009-02-04T16:35:22-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227534/#msg_227534
> Nick Sandonato wrote:
>> Todd wrote:
>>> I just downloaded the JEE edition of Ganymede Eclipse.
>>> After editing an XSD file I right-clicked on the file, expecting to
>>> see the "Generate" menu to I could select the "XML File" option to
>>> create a file from the schema. The option is not there.
>>> What do I need to add to get this back? It was there in prior versions.
>>>
>>> Thanks,
>>> T
>> Hi Todd,
>>
>> I just checked if I could Generate an XML file from an XSD and was
>> able to get the menu to pop up using the JEE edition of Ganymede.
>>
>> Is the *.xsd extension still associated with the XSD content type (not
>> necessarily the XML Schema File content type)? You can check this in
>> Preferences > General > Content Types. The XSD content type should be
>> a descendant of Text > XML. This menu item is enabled when the file
>> is either of DTD or XSD content types.
>>
>> Nick
>
> Does it matter what perspective I am in?
> I still don't have the "Generate" option on the right-click menu and I
> really need it.
>
> Thanks.
The perspective shouldn't matter.

As you mentioned in your other post, there is an XML (Illformed) content
type. If your XSD is illformed, this could be registering it as a
different content type than is associated with the Generate menu item.
If you bring up the properties of the file (select it and press
Alt+Enter) what does the Type field say? It should be something like
File (X).

Have you noticed any errors in the .log file that might give us some
hints to why the Generate menu item might not be present?]]>Nick Sandonato2009-02-04T17:00:41-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227538/#msg_227538
Originally posted by: nospam.example.com

Nick Sandonato wrote:
> Todd wrote:
>> Nick Sandonato wrote:
>>> Todd wrote:
>>>> I just downloaded the JEE edition of Ganymede Eclipse.
>>>> After editing an XSD file I right-clicked on the file, expecting to
>>>> see the "Generate" menu to I could select the "XML File" option to
>>>> create a file from the schema. The option is not there.
>>>> What do I need to add to get this back? It was there in prior versions.
>>>>
>>>> Thanks,
>>>> T
>>> Hi Todd,
>>>
>>> I just checked if I could Generate an XML file from an XSD and was
>>> able to get the menu to pop up using the JEE edition of Ganymede.
>>>
>>> Is the *.xsd extension still associated with the XSD content type
>>> (not necessarily the XML Schema File content type)? You can check
>>> this in Preferences > General > Content Types. The XSD content type
>>> should be a descendant of Text > XML. This menu item is enabled when
>>> the file is either of DTD or XSD content types.
>>>
>>> Nick
>>
>> Does it matter what perspective I am in?
>> I still don't have the "Generate" option on the right-click menu and I
>> really need it.
>>
>> Thanks.
> The perspective shouldn't matter.
>
> As you mentioned in your other post, there is an XML (Illformed) content
> type. If your XSD is illformed, this could be registering it as a
> different content type than is associated with the Generate menu item.
> If you bring up the properties of the file (select it and press
> Alt+Enter) what does the Type field say? It should be something like
> File (X).
>
> Have you noticed any errors in the .log file that might give us some
> hints to why the Generate menu item might not be present?

There is nothing of note in the install.log file. Should I be looking
somewhere else?

I must be missing something obvious somewhere but I just don't see the
"Generate" option on the menu.

Thanks,
T]]>2009-02-04T19:30:00-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227540/#msg_227540
> Nick Sandonato wrote:
>> Todd wrote:
>>> Nick Sandonato wrote:
>>>> Todd wrote:
>>>>> I just downloaded the JEE edition of Ganymede Eclipse.
>>>>> After editing an XSD file I right-clicked on the file, expecting to
>>>>> see the "Generate" menu to I could select the "XML File" option to
>>>>> create a file from the schema. The option is not there.
>>>>> What do I need to add to get this back? It was there in prior
>>>>> versions.
>>>>>
>>>>> Thanks,
>>>>> T
>>>> Hi Todd,
>>>>
>>>> I just checked if I could Generate an XML file from an XSD and was
>>>> able to get the menu to pop up using the JEE edition of Ganymede.
>>>>
>>>> Is the *.xsd extension still associated with the XSD content type
>>>> (not necessarily the XML Schema File content type)? You can check
>>>> this in Preferences > General > Content Types. The XSD content type
>>>> should be a descendant of Text > XML. This menu item is enabled
>>>> when the file is either of DTD or XSD content types.
>>>>
>>>> Nick
>>>
>>> Does it matter what perspective I am in?
>>> I still don't have the "Generate" option on the right-click menu and
>>> I really need it.
>>>
>>> Thanks.
>> The perspective shouldn't matter.
>>
>> As you mentioned in your other post, there is an XML (Illformed)
>> content type. If your XSD is illformed, this could be registering it
>> as a different content type than is associated with the Generate menu
>> item. If you bring up the properties of the file (select it and press
>> Alt+Enter) what does the Type field say? It should be something like
>> File (X).
>>
>> Have you noticed any errors in the .log file that might give us some
>> hints to why the Generate menu item might not be present?
>
> The file type in the Properties box says:
> Type: File (XML Schema File)
>
> There is nothing of note in the install.log file. Should I be looking
> somewhere else?
>
> I must be missing something obvious somewhere but I just don't see the
> "Generate" option on the menu.
>
> Thanks,
> T
As mentioned earlier, the Generate menu item is enabled when the content
type is XSD or DTD content types. From your Properties, the content type
is XML Schema File.

The log file you should be looking at is the .log file in the .metadata
directory of your workspace directory.

Could you also check to see if the org.eclipse.wst.xsd.core plugin is
loaded from Help > About Eclipse Platform > Plug-in Details. Without
this plugin, the XSD content type is not defined.

Also, are you able to bring up the Generate menu on any other XSDs or
DTDs in your workspace? Or is it one XSD in particular?]]>Nick Sandonato2009-02-04T20:10:02-00:00Re: Generate menu missinghttps://www.eclipse.org/forums/index.php/mv/msg/72784/227541/#msg_227541
Originally posted by: nospam.example.com

Nick Sandonato wrote:
> Todd wrote:
>> Nick Sandonato wrote:
>>> Todd wrote:
>>>> Nick Sandonato wrote:
>>>>> Todd wrote:
>>>>>> I just downloaded the JEE edition of Ganymede Eclipse.
>>>>>> After editing an XSD file I right-clicked on the file, expecting
>>>>>> to see the "Generate" menu to I could select the "XML File" option
>>>>>> to create a file from the schema. The option is not there.
>>>>>> What do I need to add to get this back? It was there in prior
>>>>>> versions.
>>>>>>
>>>>>> Thanks,
>>>>>> T
>>>>> Hi Todd,
>>>>>
>>>>> I just checked if I could Generate an XML file from an XSD and was
>>>>> able to get the menu to pop up using the JEE edition of Ganymede.
>>>>>
>>>>> Is the *.xsd extension still associated with the XSD content type
>>>>> (not necessarily the XML Schema File content type)? You can check
>>>>> this in Preferences > General > Content Types. The XSD content type
>>>>> should be a descendant of Text > XML. This menu item is enabled
>>>>> when the file is either of DTD or XSD content types.
>>>>>
>>>>> Nick
>>>>
>>>> Does it matter what perspective I am in?
>>>> I still don't have the "Generate" option on the right-click menu and
>>>> I really need it.
>>>>
>>>> Thanks.
>>> The perspective shouldn't matter.
>>>
>>> As you mentioned in your other post, there is an XML (Illformed)
>>> content type. If your XSD is illformed, this could be registering it
>>> as a different content type than is associated with the Generate menu
>>> item. If you bring up the properties of the file (select it and press
>>> Alt+Enter) what does the Type field say? It should be something like
>>> File (X).
>>>
>>> Have you noticed any errors in the .log file that might give us some
>>> hints to why the Generate menu item might not be present?
>>
>> The file type in the Properties box says:
>> Type: File (XML Schema File)
>>
>> There is nothing of note in the install.log file. Should I be looking
>> somewhere else?
>>
>> I must be missing something obvious somewhere but I just don't see the
>> "Generate" option on the menu.
>>
>> Thanks,
>> T
> As mentioned earlier, the Generate menu item is enabled when the content
> type is XSD or DTD content types. From your Properties, the content type
> is XML Schema File.
>
> The log file you should be looking at is the .log file in the .metadata
> directory of your workspace directory.
>
> Could you also check to see if the org.eclipse.wst.xsd.core plugin is
> loaded from Help > About Eclipse Platform > Plug-in Details. Without
> this plugin, the XSD content type is not defined.
>
> Also, are you able to bring up the Generate menu on any other XSDs or
> DTDs in your workspace? Or is it one XSD in particular?

I checked the plug-in details and I do see the org.eclipse.wst.xsd.core
Id. The version is 1.1.301.v200807240448.

I cannot bring up the Generate menu for any schemas (XSD). However, I
can generate the XML file using the File -> New -> Other -> XML File
(Create XML file from XML schema file), as suggested in a separate post.