[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.cosmos] Re: Validating test SML-IF documents
|
David,
I started over with a fresh install of Eclipse Ganymede and then installed
Cosmos.
Eclipse Platform, Version: 3.4.0, Build id: I20080523-0100
cosmos-rm-incubation-COSMOS-1.0.0-200806041150.zip
Here is what I've done so far:
1 - I imported the IF file. I imported as an Interchange file which caused
the IF file to be unpacked. I can successfully validate the Student_xx.xml
file (and all the other xml files if I give them an xml extension). So it
appears that each file in the model is valid itself.
2 - I really want to validate the entire model as an SML model, including
references. I assume that to do this in Cosmos, I must first package the
model into an IF file. Therefore, importing the file into Eclipse as an IF
file (as in step 1 above) is not what I want to do. So now I am assuming
that when you said you imported the file, you meant that you imported the
file directly from the 'file system' and NOT as an IF file. So next I
re-imported the IF file as a generic file.
3 - I opened the IF file just imported and see the IF editor. I clicked on
"Validate the entire document" and got the following errors.
errors:
cvc-elt.1: Cannot find the declaration of element
'Course'. Valid.xml SMLTest1 line 107 Service Modeling Language
cvc-elt.1: Cannot find the declaration of element
'Course'. Valid.xml SMLTest1 line 132 Service Modeling Language
cvc-elt.1: Cannot find the declaration of element
'GraduateCourse'. Valid.xml SMLTest1 line 119 Service Modeling Language
warnings:
The reference Course1 is dangling Valid.xml SMLTest1 line 86 Service
Modeling Language
The reference Course3 is dangling Valid.xml SMLTest1 line 92 Service
Modeling Language
The reference GraduateCourse is dangling Valid.xml SMLTest1 line
89 Service Modeling Language
Is Ganymede a problem - could there be a conflict?
Is anything else needed other than Cosmos SML component?
How about my java version? I have JRE 1.5.0_13 and 1.6.0_06 installed on
my system. In Eclipse, I have only the JRE 1.5.0_13 listed in the
Installed JRE preferences and set as the workbench default but how can I
be sure what Cosmos is using. Note that when I run "java -version in a DOS
window" - I get the 1.6 version returned so 1.6 is the default on my
system.
Thanks for your help!
--
ginny