Hi r0main,
 
Here is what I did in Eclipse 3.1M7:
 
Schema setup:
Goto Preferences > Web & XML > XML Catalog. From there I created a "User Specified Entry" pointing to the MXML schema file with Flex 1.5.
 
Association:
Goto Preferences > Editors > Content Types. Under "XML" add "*.mxml".
 
Apply and Save... next time you open a MXML file... voila!
I tried exactly what you did and it didn't work, so after fiddling around, I discovered the above.
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: r0main [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 19, 2005 5:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6?

Dimitrios,
Which editor did you associate to *.mxml files ?
I've got a file "main.mxml", and tried "XML Editor", "XML Source Page
Editor", "Standalone Structured Source Editor", on it: Nothing good
happens... But if I rename it "main.xml" that works perfectly...

r0main

--- In flexcoders@yahoogroups.com, "r0main" <[EMAIL PROTECTED]> wrote:
> Hello Dimitrios,
> I'm looking forward to find a valid MXML editor into eclipse... I've
> downloaded erverything... I can see the XML editor is here, I've
> associated MXML file to it... It opens it as an XML file, but says
> "the document is empty", while the source tab shows the mxml file...
> Any idea ?
>
> Ciao, r0main
>
> --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas"
> <[EMAIL PROTECTED]> wrote:
> > Not sure if anyone uses it, but I started using Eclipse Web Tools for
> > MXML editing. You can specify the MXML schema and works it wonderfully
> > so far.
> > 
> > http://www.eclipse.org/webtools/index.html
> > 
> > Dimitrios "Jimmy" Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> > 
> >
> >   _____ 
> >
> > From: Andrew Muller [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 18, 2005 8:55 PM
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] How to configure MXML schema in Eclipse +
> > OxygenXML 6?
> >
> >
> > Hans
> >
> > Apologies if this appears twice.
> >
> > I buggerised around for a while and found success if I used the
> > following settings (totally non scientific/documented settings, might
> > be a better way):
> >
> > In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the
> > following:
> >
> > Namespace: <Any>
> > Root local name: <Any>
> > File name: <Any>
> > Schema type: XML Schema
> > Schema URI: file location of XSD file
> >
> > I then moved this entry to the top of the list, have been using it for
> > about a day and it seems to work for me so far without having any
> > noticable side effect on other file types.
> >
> > HTH
> >
> > Andrew
> >
> > Andrew Muller
> > Partner, RocketBoots
> > http://www.rocketboots.com.au
> >
> > On 5/19/05, Hans Omli <[EMAIL PROTECTED]> wrote:
> > >  Has anyone successfully set up tag insight with Eclipse and the new
> > version
> > > of OxygenXML.  I had no trouble with OxygenXML 5.1, but can't
seem to
> > get
> > > tag insight working with 6.0.  Thanks!
> > >  ________________________________
> > >  Yahoo! Groups Links
> > > 
> > > To visit your group on the web, go to:
> > > http://groups.yahoo.com/group/flexcoders/
> > >  
> > > To unsubscribe from this group, send an email to:
> > > [EMAIL PROTECTED]
> > >  
> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
> >   _____ 
> >
> > Yahoo! Groups Links
> >
> >
> > *      To visit your group on the web, go to:
> >       http://groups.yahoo.com/group/flexcoders/
> >        
> > *      To unsubscribe from this group, send an email to:
> >       [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >        
> > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> >
> > <table width=800 cellpadding=4 cellspacing=10 border=0><tr
> bgcolor=BDBDBD><td valign=top width=400><font face=verdana size=2
> color=FFFFFF><b>AVIS IMPORTANT</b></font></td><td valign=top
> width=400><font face=verdana size=2
> color=FFFFFF><b>WARNING</b></font></td></tr><tr><td valign=top
> width=400><p align=justify><font face=verdana size=1 color=808080> Les
> informations contenues dans le present document et ses pieces jointes
> sont strictement confidentielles et reservees a l'usage de la (des)
> personne(s) a qui il est adresse. Si vous n'etes pas le destinataire,
> soyez avise que toute divulgation, distribution, copie, ou autre
> utilisation de ces informations est strictement prohibee. Si vous avez
> recu ce document par erreur, veuillez s'il vous plait communiquer
> immediatement avec l'expediteur et detruire ce document sans en faire
> de copie sous quelque forme.</td><td valign=top width=400><p
> align=justify><font face=verdana size=1 color=808080> The information
> contained in this document and attachments is confidential and
> intended only for the person(s) named above. If you are not the
> intended recipient you are hereby notified that any disclosure,
> copying, distribution, or any other use of the information is strictly
> prohibited. If you have received this document by mistake, please
> notify the sender immediately and destroy this document and
> attachments without making any copy of any kind.</td></tr></table>




Yahoo! Groups Links

Reply via email to