Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » xml editor content assist
xml editor content assist [message #73619] Fri, 15 February 2008 11:13 Go to next message
Eclipse User
Originally posted by: t.agnoloni.gmail.com

in org.eclipse.wst.xmleditor outline view, by right clicking on an
element, the list of valid content is shown. i presume that it's read from
the xsd grammar linked to the document. is it related to org.eclipse.xsd
library? are there methods that provide default valid contents for an
element given the associated schema? which?
Re: xml editor content assist [message #73637 is a reply to message #73619] Wed, 20 February 2008 12:06 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Tommaso,

I've been on vacation so I'm slow to respond. I'm not sure if the XML
editor is using the XSD model or not. It's best to ask on the WTP
newsgroup, which I've added to the "to" list of the reply.


tommaso wrote:
> in org.eclipse.wst.xmleditor outline view, by right clicking on an
> element, the list of valid content is shown. i presume that it's read
> from the xsd grammar linked to the document. is it related to
> org.eclipse.xsd library? are there methods that provide default valid
> contents for an element given the associated schema? which?
>
Re: xml editor content assist [message #73655 is a reply to message #73637] Wed, 20 February 2008 12:46 Go to previous message
Eclipse User
Originally posted by: dcarver.starstandard.org

If there is an XSD associated with the XML file through either a XML
Catalog or through the schemaLocation attribute, it will use the XSD
model from EMF.

Dave


Ed Merks wrote:
> Tommaso,
>
> I've been on vacation so I'm slow to respond. I'm not sure if the XML
> editor is using the XSD model or not. It's best to ask on the WTP
> newsgroup, which I've added to the "to" list of the reply.
>
>
> tommaso wrote:
>> in org.eclipse.wst.xmleditor outline view, by right clicking on an
>> element, the list of valid content is shown. i presume that it's read
>> from the xsd grammar linked to the document. is it related to
>> org.eclipse.xsd library? are there methods that provide default valid
>> contents for an element given the associated schema? which?
>>
Re: xml editor content assist [message #602817 is a reply to message #73619] Wed, 20 February 2008 12:06 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26000
Registered: July 2009
Senior Member
Tommaso,

I've been on vacation so I'm slow to respond. I'm not sure if the XML
editor is using the XSD model or not. It's best to ask on the WTP
newsgroup, which I've added to the "to" list of the reply.


tommaso wrote:
> in org.eclipse.wst.xmleditor outline view, by right clicking on an
> element, the list of valid content is shown. i presume that it's read
> from the xsd grammar linked to the document. is it related to
> org.eclipse.xsd library? are there methods that provide default valid
> contents for an element given the associated schema? which?
>
Re: xml editor content assist [message #602825 is a reply to message #73637] Wed, 20 February 2008 12:46 Go to previous message
Eclipse User
Originally posted by: dcarver.starstandard.org

If there is an XSD associated with the XML file through either a XML
Catalog or through the schemaLocation attribute, it will use the XSD
model from EMF.

Dave


Ed Merks wrote:
> Tommaso,
>
> I've been on vacation so I'm slow to respond. I'm not sure if the XML
> editor is using the XSD model or not. It's best to ask on the WTP
> newsgroup, which I've added to the "to" list of the reply.
>
>
> tommaso wrote:
>> in org.eclipse.wst.xmleditor outline view, by right clicking on an
>> element, the list of valid content is shown. i presume that it's read
>> from the xsd grammar linked to the document. is it related to
>> org.eclipse.xsd library? are there methods that provide default valid
>> contents for an element given the associated schema? which?
>>
Previous Topic:xml editor content assist
Next Topic:Cannot set content of XSD Particle
Goto Forum:
  


Current Time: Sat Aug 23 03:36:26 EDT 2014

Powered by FUDForum. Page generated in 0.01901 seconds