library.xsd example with EMF2.0 and eclipse M5 [message #381523] |
Mon, 12 January 2004 18:08 |
Eclipse User |
|
|
|
Originally posted by: user.example.net
Hi,
I'm unable to successfully create an emf project using the library.xsd
file. When creating the project using the EMF project wizard, after
selecting 'load from an XML schema' and giving the path to the
library.xsd file, the wizard gives the error: "Specify a valid XML
Schema and try loading again". The strange thing is that the
library.xsd file is perfectly valid. I've tried this with both the
December 12th and December 19th EMF builds (using eclipse 3.0 m5). Has
anyone else seen this problem and been able to work around it?
Thanks,
Jimmy
|
|
|
Re: library.xsd example with EMF2.0 and eclipse M5 [message #381524 is a reply to message #381523] |
Mon, 12 January 2004 18:45 |
Eclipse User |
|
|
|
Originally posted by: robert.lindsay.ams.com
I had the same problem you need to use a command line interface to bring
up M5 eclipse so you can define the XML parser being used. for example I
use:
eclipse.exe -vmargs -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
hope this helps
Jimmy Dean wrote:
> Hi,
> I'm unable to successfully create an emf project using the library.xsd
> file. When creating the project using the EMF project wizard, after
> selecting 'load from an XML schema' and giving the path to the
> library.xsd file, the wizard gives the error: "Specify a valid XML
> Schema and try loading again". The strange thing is that the
> library.xsd file is perfectly valid. I've tried this with both the
> December 12th and December 19th EMF builds (using eclipse 3.0 m5). Has
> anyone else seen this problem and been able to work around it?
> Thanks,
> Jimmy
|
|
|
Re: library.xsd example with EMF2.0 and eclipse M5 [message #381527 is a reply to message #381524] |
Mon, 12 January 2004 20:46 |
Eclipse User |
|
|
|
Originally posted by: user.example.net
I get the same error whether or not I use the command line below. I
even re-installed M5 plus the EMF and XSD plugins... weird.
robert lindsay wrote:
> I had the same problem you need to use a command line interface to bring
> up M5 eclipse so you can define the XML parser being used. for example I
> use:
>
> eclipse.exe -vmargs -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>
> hope this helps
>
> Jimmy Dean wrote:
>
>
>>Hi,
>
>
>>I'm unable to successfully create an emf project using the library.xsd
>>file. When creating the project using the EMF project wizard, after
>>selecting 'load from an XML schema' and giving the path to the
>>library.xsd file, the wizard gives the error: "Specify a valid XML
>>Schema and try loading again". The strange thing is that the
>>library.xsd file is perfectly valid. I've tried this with both the
>>December 12th and December 19th EMF builds (using eclipse 3.0 m5). Has
>>anyone else seen this problem and been able to work around it?
>
>
>>Thanks,
>>Jimmy
>
>
>
|
|
|
Re: library.xsd example with EMF2.0 and eclipse M5 [message #381528 is a reply to message #381527] |
Mon, 12 January 2004 21:05 |
Eclipse User |
|
|
|
Originally posted by: user.example.net
The problem was that my xsd file was under "Program Files". The space
in the path name was causing an internal exception when the resource was
being loaded.
Jimmy Dean wrote:
> I get the same error whether or not I use the command line below. I
> even re-installed M5 plus the EMF and XSD plugins... weird.
>
> robert lindsay wrote:
>
>> I had the same problem you need to use a command line interface to bring
>> up M5 eclipse so you can define the XML parser being used. for example I
>> use:
>>
>> eclipse.exe -vmargs -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
>>
>> hope this helps
>>
>> Jimmy Dean wrote:
>>
>>
>>> Hi,
>>
>>
>>
>>> I'm unable to successfully create an emf project using the
>>> library.xsd file. When creating the project using the EMF project
>>> wizard, after selecting 'load from an XML schema' and giving the path
>>> to the library.xsd file, the wizard gives the error: "Specify a
>>> valid XML Schema and try loading again". The strange thing is that
>>> the library.xsd file is perfectly valid. I've tried this with both
>>> the December 12th and December 19th EMF builds (using eclipse 3.0
>>> m5). Has anyone else seen this problem and been able to work around it?
>>
>>
>>
>>> Thanks,
>>> Jimmy
>>
>>
>>
>>
>
|
|
|
|
Re: library.xsd example with EMF2.0 and eclipse M5 [message #382016 is a reply to message #382013] |
Mon, 26 January 2004 17:35 |
Frank Budinsky Messages: 478 Registered: July 2009 |
Senior Member |
|
|
Vijaya,
Are you running: eclipse.exe -vmargs
-Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
Frank.
Vijaya wrote:
> I am trying to do exactly the same thing, attempting to load a valid xsd
> file e.g. the library.xsd gives an error: Specify a valid XMl SChema and
> try loading again.
> The file is located under c:/EMFBPELGeneration30/schema/library.xsd, so no
> spaces exist in the directory path. Eclipse version is 3.0 M5 version, emf
> and xsd zips are from 20031219_0637VL.zip. Any suggestions to get past
> this problem would be great.
> Thanks,
> Vijaya
> Jimmy Dean wrote:
>
> > The problem was that my xsd file was under "Program Files". The space
> > in the path name was causing an internal exception when the resource was
> > being loaded.
>
> > Jimmy Dean wrote:
> > > I get the same error whether or not I use the command line below. I
> > > even re-installed M5 plus the EMF and XSD plugins... weird.
> > >
> > > robert lindsay wrote:
> > >
> > >> I had the same problem you need to use a command line interface to bring
> > >> up M5 eclipse so you can define the XML parser being used. for example I
> > >> use:
> > >>
> > >> eclipse.exe -vmargs -Djava.endorsed.dirs=plugins/org.apache.xerces_4.0.13
> > >>
> > >> hope this helps
> > >>
> > >> Jimmy Dean wrote:
> > >>
> > >>
> > >>> Hi,
> > >>
> > >>
> > >>
> > >>> I'm unable to successfully create an emf project using the
> > >>> library.xsd file. When creating the project using the EMF project
> > >>> wizard, after selecting 'load from an XML schema' and giving the path
> > >>> to the library.xsd file, the wizard gives the error: "Specify a
> > >>> valid XML Schema and try loading again". The strange thing is that
> > >>> the library.xsd file is perfectly valid. I've tried this with both
> > >>> the December 12th and December 19th EMF builds (using eclipse 3.0
> > >>> m5). Has anyone else seen this problem and been able to work around it?
> > >>
> > >>
> > >>
> > >>> Thanks,
> > >>> Jimmy
> > >>
> > >>
> > >>
> > >>
> > >
|
|
|
Powered by
FUDForum. Page generated in 0.03786 seconds