Namespace prefix [message #7186] |
Tue, 13 February 2007 04:43  |
Eclipse User |
|
|
|
Originally posted by: elena.tibrea.gmail.com
Hello,
When validating this file:
/org.eclipse.cosmos.rm.validation.tests/src/test-resources/R ules/InValid.xml,
I get the expected validation error, but when I alter it like :
<document>
<data>
<s:University xmlns:s="urn:university"
xmlns:sml="http://schemas.serviceml.org/sml/2006/10">
<s:Name>MIT</s:Name>
<s:EnrolledStudents>
<s:EnrolledStudent sml:ref="true">
<sml:uri>Student1</sml:uri>
</s:EnrolledStudent>
<s:EnrolledStudent sml:ref="true">
<sml:uri>Student2</sml:uri>
</s:EnrolledStudent>
<s:EnrolledStudent sml:ref="true">
<sml:uri>Student3</sml:uri>
</s:EnrolledStudent>
<s:EnrolledStudent sml:ref="true">
<sml:uri>Student4</sml:uri>
</s:EnrolledStudent>
</s:EnrolledStudents>
</s:University>
</data>
</document>
Only this section was modified. In this case I get no validation error.
Some help?! :)
Thanks
elena
|
|
|
|
|
|
|
Re: Namespace prefix [message #8049 is a reply to message #7294] |
Fri, 23 February 2007 15:29  |
Eclipse User |
|
|
|
Originally posted by: david_whiteman.us.ibm.com
Ali Mehregani wrote:
> I've fixed the defect.
> You download the latest copy of the plug-ins from COSMOS CVS.
>
> Thanks,
> Ali Mehregani
elena,
Is everything working for you as expected now?
David
|
|
|
Re: Namespace prefix [message #569344 is a reply to message #7186] |
Wed, 14 February 2007 10:46  |
Eclipse User |
|
|
|
elena t wrote:
> Hello,
>
> When validating this file:
> /org.eclipse.cosmos.rm.validation.tests/src/test-resources/R ules/InValid.xml,
> I get the expected validation error, but when I alter it like :
>
> <document>
> <data>
> <s:University xmlns:s="urn:university"
> xmlns:sml="http://schemas.serviceml.org/sml/2006/10">
> <s:Name>MIT</s:Name>
> <s:EnrolledStudents>
> <s:EnrolledStudent sml:ref="true">
> <sml:uri>Student1</sml:uri>
> </s:EnrolledStudent>
> <s:EnrolledStudent sml:ref="true">
> <sml:uri>Student2</sml:uri>
> </s:EnrolledStudent>
> <s:EnrolledStudent sml:ref="true">
> <sml:uri>Student3</sml:uri>
> </s:EnrolledStudent>
> <s:EnrolledStudent sml:ref="true">
> <sml:uri>Student4</sml:uri>
> </s:EnrolledStudent>
> </s:EnrolledStudents>
> </s:University>
> </data>
> </document>
>
> Only this section was modified. In this case I get no validation error.
>
> Some help?! :)
>
> Thanks
> elena
I'm not sure if I'm using a newer version of the code than you or not,
but after making the modification you suggested, I get the following
validation error:
Severity and Description Path Resource Location Creation Time Id
The node "s:EnrolledStudent" is not of type refType Unknown
1171467814251 432
If you are not seeing this error, please try again with the latest
version of the code using the link I posted on Monday.
Thanks,
David
|
|
|
|
|
|
Re: Namespace prefix [message #569602 is a reply to message #7294] |
Fri, 23 February 2007 15:29  |
Eclipse User |
|
|
|
Ali Mehregani wrote:
> I've fixed the defect.
> You download the latest copy of the plug-ins from COSMOS CVS.
>
> Thanks,
> Ali Mehregani
elena,
Is everything working for you as expected now?
David
|
|
|
Powered by
FUDForum. Page generated in 0.04215 seconds