|
|
Re: Can't get XSD to work [message #53648 is a reply to message #53489] |
Fri, 22 September 2006 11:40 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Gaff,
Did you run eclipse.exe -clean to update the configuration after
unzipping the plugins?
Gaff wrote:
> I want to be able to use XSD for development. But I can't get it to
> work. I've downloaded the XSD zip and unzipped it in my eclipse folder
> so everything I need should be there?
>
> I've added to the build path within a gmf project:
>
> org.eclipse.emf.mapping.xsd2ecore.editor
> org.eclipse.emf.mapping.xsd2ecore
> org.eclipse.xsd.ecore.exporter
> org.eclipse.xsd.ecore.importer
> org.eclipse.xsd.edit
> org.eclipse.xsd.editor
> org.eclipse.xsd
>
> I've then added a xsd file (from an example) but it just registers it
> as a text file...
> Could someone point me to some good docs or tell me what I'm doing wrong.
>
> Cheers
>
|
|
|
|
|
Re: Can't get XSD to work [message #53856 is a reply to message #53725] |
Fri, 22 September 2006 12:54 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Con,
Have you looked in the Error log for potential source of problems?
Con Gaff wrote:
> Tried this, didn't work.
>
|
|
|
Re: Can't get XSD to work [message #53922 is a reply to message #53701] |
Fri, 22 September 2006 12:57 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Con,
If you've installed XSD and there is no Open With -> Sample XML Schema
Editor on the popup menu for a .xsd file, then Eclipse does not think
you've installed XSD properly. The error log should provide
information to help indicate what might be wrong or missing. The
problem below is a basic error thrown by the SAX parser and indicates
that there is something not quite right about the XML itself...
Con Gaff wrote:
> Can't see individual files form Callisto.
>
> Got everything from gmf modelling there.
>
> Then total .zip from XSD download.
>
> Pretty sure I have everything.
>
> Maybe I just don't know how to use software properly but am pretty
> sure a.xsd file would show up differenttly than just a text file. Am I
> right.
>
> Note, that this example is the mindmap one from tutorial.
>
> Tried using the mindmap.ecore file but that just shows up as having
> errors, am looking through gmf group for solution to this:
>
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$Diagno sticWrappedException:
> org.xml.sax.SAXParseException: The processing instruction target
> matching "[xX][mM][lL]" is not allowed.
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:307)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:268).....
>
> ...
> ...
> ...
>
|
|
|
Powered by
FUDForum. Page generated in 0.04410 seconds