Eclipse Content Assist and XSD Question

View: New views
3 Messages — Rating Filter:   Alert me  

Eclipse Content Assist and XSD Question

by MikeJC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was wondering why I get errors in Eclipse when ever I begin a new tag, e.g.

I have mapped as follows

xmlns:manage="http://www.mulesource.org/schema/mule/management/2.0"
...
http://www.mulesource.org/schema/mule/management/2.0 http://www.mulesource.org/schema/mule/management/2.0/mule-management.xsd">

If I start type in Eclipse:
 <manage:

and then click on Ctrl-Space I see an error "Content Assist not available at the current location". Is this normal? Or is there a way I can get suggestions to work with prefixes?

Re: Eclipse Context Assist and XSD Question

by Daniel Feist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike,

There is a problem with content-assist with Eclipse WTP, and  
apparently with the default intelij xml editor also.

This is not a problem with the mule schema but rather the tools  
inability to cope correctly with xml schema substitution groups.

I have tried with oxygen xml and it works perfectly.  Oxygen xml is  
commercial though :-( If anyway knows of an freeware xml editor that  
plug-ins into eclipse please share it with everyone else.

We should probably log a bug with eclipse...

You will find that once you type the element name eclipse will help  
with the attributes and child elements....

sorry I couldn't be of more help...

Dan

On 17 Apr 2008, at 19:38, MikeJC wrote:

>
> I was wondering why I get errors in Eclipse when ever I begin a new  
> tag, e.g.
>
> I have mapped as follows
>
> xmlns:manage="http://www.mulesource.org/schema/mule/management/2.0"
> ...
> http://www.mulesource.org/schema/mule/management/2.0
> http://www.mulesource.org/schema/mule/management/2.0/mule-management.xsd 
> ">
>
> If I start type in Eclipse:
> <manage:
>
> and then click on Ctrl-Space I see an error "Content Assist not  
> available at
> the current location". Is this normal? Or is there a way I can get
> suggestions to work with prefixes?
>
> --
> View this message in context: http://www.nabble.com/Eclipse-Context-Assist-and-XSD-Question-tp16757297p16757297.html
> Sent from the Mule - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Eclipse Context Assist and XSD Question

by Travis E. Carlson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I created MULE-3268 and MULE-3269 to track this.

On Thu, 2008-04-17 at 22:54 -0300, Daniel Feist wrote:

> Mike,
>
> There is a problem with content-assist with Eclipse WTP, and  
> apparently with the default intelij xml editor also.
>
> This is not a problem with the mule schema but rather the tools  
> inability to cope correctly with xml schema substitution groups.
>
> I have tried with oxygen xml and it works perfectly.  Oxygen xml is  
> commercial though :-( If anyway knows of an freeware xml editor that  
> plug-ins into eclipse please share it with everyone else.
>
> We should probably log a bug with eclipse...
>
> You will find that once you type the element name eclipse will help  
> with the attributes and child elements....
>
> sorry I couldn't be of more help...
>
> Dan
>
> On 17 Apr 2008, at 19:38, MikeJC wrote:
>
> >
> > I was wondering why I get errors in Eclipse when ever I begin a new  
> > tag, e.g.
> >
> > I have mapped as follows
> >
> > xmlns:manage="http://www.mulesource.org/schema/mule/management/2.0"
> > ...
> > http://www.mulesource.org/schema/mule/management/2.0
> > http://www.mulesource.org/schema/mule/management/2.0/mule-management.xsd 
> > ">
> >
> > If I start type in Eclipse:
> > <manage:
> >
> > and then click on Ctrl-Space I see an error "Content Assist not  
> > available at
> > the current location". Is this normal? Or is there a way I can get
> > suggestions to work with prefixes?
> >
> > --
> > View this message in context: http://www.nabble.com/Eclipse-Context-Assist-and-XSD-Question-tp16757297p16757297.html
> > Sent from the Mule - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email