Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » COSMOS » Namespace prefix
Namespace prefix [message #7186] Tue, 13 February 2007 04:43 Go to next message
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 #7208 is a reply to message #7186] Wed, 14 February 2007 10:46 Go to previous messageGo to next message
Eclipse User
Originally posted by: david_whiteman.us.ibm.com

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 #7231 is a reply to message #7208] Wed, 14 February 2007 11:19 Go to previous messageGo to next message
Eclipse User
Originally posted by: elena.tibrea.gmail.com

I tryed again with the plugins you uploaded on monday
http://wiki.eclipse.org/images/8/8f/Backup-v2.zip.

I still get no validation error when I introduce the namespace.

With the orignal 'InValid.xml' I get "The specified ID 1101 does not begin
with 99" as expected.

Thanks.
Re: Namespace prefix [message #7277 is a reply to message #7231] Tue, 20 February 2007 14:15 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I get the same results as David. I've opened the following defect to look
into it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174838

Thanks,
Ali Mehregani

"elena t" <elena.tibrea@gmail.com> wrote in message
news:daefbeeaa63f0652881e2f371a0e9419$1@www.eclipse.org...
>I tryed again with the plugins you uploaded on monday
>http://wiki.eclipse.org/images/8/8f/Backup-v2.zip.
>
> I still get no validation error when I introduce the namespace.
>
> With the orignal 'InValid.xml' I get "The specified ID 1101 does not begin
> with 99" as expected.
>
> Thanks.
>
Re: Namespace prefix [message #7294 is a reply to message #7277] Tue, 20 February 2007 17:02 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I've fixed the defect.
You download the latest copy of the plug-ins from COSMOS CVS.

Thanks,
Ali Mehregani

"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:erfhc6$jk1$1@utils.eclipse.org...
>I get the same results as David. I've opened the following defect to look
>into it:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=174838
>
> Thanks,
> Ali Mehregani
>
> "elena t" <elena.tibrea@gmail.com> wrote in message
> news:daefbeeaa63f0652881e2f371a0e9419$1@www.eclipse.org...
>>I tryed again with the plugins you uploaded on monday
>>http://wiki.eclipse.org/images/8/8f/Backup-v2.zip.
>>
>> I still get no validation error when I introduce the namespace.
>>
>> With the orignal 'InValid.xml' I get "The specified ID 1101 does not
>> begin with 99" as expected.
>>
>> Thanks.
>>
>
>
Re: Namespace prefix [message #8049 is a reply to message #7294] Fri, 23 February 2007 15:29 Go to previous message
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 Go to previous message
David Whiteman is currently offline David Whiteman
Messages: 166
Registered: July 2009
Senior Member
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 #569411 is a reply to message #7208] Wed, 14 February 2007 11:19 Go to previous message
Eclipse User
Originally posted by: elena.tibrea.gmail.com

I tryed again with the plugins you uploaded on monday
http://wiki.eclipse.org/images/8/8f/Backup-v2.zip

I still get no validation error when I introduce the namespace.

With the orignal 'InValid.xml' I get "The specified ID 1101 does not begin
with 99" as expected.

Thanks.
Re: Namespace prefix [message #569470 is a reply to message #7231] Tue, 20 February 2007 14:15 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I get the same results as David. I've opened the following defect to look
into it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174838

Thanks,
Ali Mehregani

"elena t" <elena.tibrea@gmail.com> wrote in message
news:daefbeeaa63f0652881e2f371a0e9419$1@www.eclipse.org...
>I tryed again with the plugins you uploaded on monday
>http://wiki.eclipse.org/images/8/8f/Backup-v2.zip
>
> I still get no validation error when I introduce the namespace.
>
> With the orignal 'InValid.xml' I get "The specified ID 1101 does not begin
> with 99" as expected.
>
> Thanks.
>
Re: Namespace prefix [message #569490 is a reply to message #7277] Tue, 20 February 2007 17:02 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I've fixed the defect.
You download the latest copy of the plug-ins from COSMOS CVS.

Thanks,
Ali Mehregani

"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:erfhc6$jk1$1@utils.eclipse.org...
>I get the same results as David. I've opened the following defect to look
>into it:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=174838
>
> Thanks,
> Ali Mehregani
>
> "elena t" <elena.tibrea@gmail.com> wrote in message
> news:daefbeeaa63f0652881e2f371a0e9419$1@www.eclipse.org...
>>I tryed again with the plugins you uploaded on monday
>>http://wiki.eclipse.org/images/8/8f/Backup-v2.zip
>>
>> I still get no validation error when I introduce the namespace.
>>
>> With the orignal 'InValid.xml' I get "The specified ID 1101 does not
>> begin with 99" as expected.
>>
>> Thanks.
>>
>
>
Re: Namespace prefix [message #569602 is a reply to message #7294] Fri, 23 February 2007 15:29 Go to previous message
David Whiteman is currently offline David Whiteman
Messages: 166
Registered: July 2009
Senior Member
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
Previous Topic:COSMOS Eclipsecon07 Demo Setup Instructions
Next Topic:Handling structured XML output for schematron rules
Goto Forum:
  


Current Time: Thu Aug 28 05:12:57 EDT 2014

Powered by FUDForum. Page generated in 0.02407 seconds